Model Context Protocol Upgrade: On-Demand Skills and Asynchronous Tasks
This article explains how the Model Context Protocol is evolving from single tool calls toward context orchestration. It covers on-demand skill loading, asynchronous task execution, in-execution elicitation, direct file transfer, compatibility, implementation practices, and risk boundaries. The goal is to show how developers and enterprises can build reusable server-side capabilities while maintaining permission control, auditability, idempotency, and observability.
1. Upgrade Background: From Single Tool Calls to Context Orchestration
Early connections between models and external servers mostly followed a “request-call-return” pattern: the model identified intent, selected a tool, waited for the server response, and then continued reasoning. This model is simple, but complex business scenarios expose three problems:
- As the number of tools grows, tool definitions occupy context space for a long time, reducing the capacity available for reasoning and business information.
- Time-consuming tasks must be awaited synchronously, so the main workflow can be blocked.
- High-risk operations, such as deletion, payment, or permission changes, lack confirmation and authorization mechanisms during execution.
The core of this protocol capability upgrade is not to add an isolated tool, but to bring skills, tasks, authorization, and files into a unified context orchestration framework. Servers are no longer just tool providers. They can also publish skill packages containing domain knowledge, best practices, and multi-step workflows, and provide customized guidance for different users or enterprises. Clients load the corresponding skill only when needed, reducing context usage. Public materials indicate that, in scenarios where multiple servers are connected simultaneously, on-demand loading of tool definitions can reduce the context space occupied by tool definitions by more than 85%. This figure is not a fixed commitment; it shows that context governance has shifted from “full injection” to “on-demand scheduling.”
2. On-Demand Skill Loading: Turning Knowledge Packages into Schedulable Resources
A skill package can be understood as a capability encapsulation for a specific business domain. It includes tool invocation instructions, domain knowledge, operating rules, multi-step workflows, and exception-handling suggestions. The traditional approach injects all tools and instructions into the context at once. The more servers and the more complex the tools, the more bloated the context becomes.
On-demand loading splits skills into two layers: a metadata index and a content payload. The client first holds a lightweight index containing the skill name, description, trigger conditions, permission scope, and version. When a request matches the trigger conditions and permission checks pass, the client then loads the full skill content.
This design brings three benefits:
- More controllable context usage. Tool definitions do not need to remain in the context window permanently. The model can obtain more focused workflow instructions when needed.
- Versioning and customization of skills. Enterprises can maintain their own best-practice packages and deliver different guidance based on user roles, tenants, or business scenarios.
- Decoupling of skills and tools. Tools are closer to atomic capabilities, while skills are closer to workflow orchestration. Their combination is more suitable for multi-step business processes.
The following is an illustrative flow, not a real API:
Skill registration:Metadata: name, description, trigger conditions, permission scope, versionContent: knowledge, best practices, multi-step workflow, exception handlingRequest handling:Match trigger conditions -> hit and authorized -> load skill package on demand -> execute stepsNo hit -> use generic tool call or generic answer
From an engineering perspective, skill discovery and trust boundaries need attention. Skill sources should be whitelisted, skill versions should be traceable, and trigger conditions should avoid over-matching. For skills involving sensitive data, permission checks should be completed before loading, and audit logs should be recorded after loading. Otherwise, on-demand loading only reduces context usage; it does not automatically solve prompt injection, unauthorized calls, or supply-chain risks.
3. Asynchronous Tasks: Separating Waiting from the Main Workflow
Synchronous tool calls require the model to wait for results before continuing. When handling batch processing, long-document analysis, or complex workflow execution, the waiting cost is high.
Asynchronous task capability allows the client to submit time-consuming tasks, or even complete multi-step workflows, to the server backend. The client immediately receives a task handle, can work on other tasks first, and retrieves the result after the task finishes. This upgrades “invocation” into “task lifecycle management.”
A reliable task mechanism usually includes a state machine, idempotency, timeouts, retries, and result retrieval. States can be abstracted as queued, running, waiting for authorization or resources, completed, failed, or canceled. The submitting party queries status through the task handle, and the server must ensure that repeated submissions do not produce duplicate side effects. For cross-session tasks, credential validity, result storage duration, and callback notifications also need to be considered. The following is an illustrative flow:
Submit background task:Input: task description, permission credential, result retrieval methodReturn: task handle (returned immediately)Execution status:Queued -> running -> waiting for authorization/resources -> completed or failedRetrieve result:Query by handle, supporting idempotency, timeout, retry, and cancellation
Asynchronization does not mean exemption from responsibility. The main workflow is no longer blocked, but task governance must be completed: task priority, concurrency limits, tenant isolation, failure alerts, and result observability all need to be designed. Otherwise, background tasks become a “black-box queue” and increase operational complexity.
4. In-Execution Elicitation: Embedding Authorization at Breakpoints
Elicitation allows the server to pause during execution, ask the user for opinions or authorization through a form or link, and then resume from the breakpoint. It addresses the problem that high-risk operations should not be completed unilaterally by the model.
For example, a database service may ask the user to confirm before creating a paid project or executing a destructive statement. A code hosting platform may require the user to enter the repository name before an agent deletes a repository. This design refines authorization from an “upfront master switch” into “in-execution confirmation,” reducing the probability of accidental operations.
In implementation, the server needs to persist the execution context and breakpoint state, generate a verifiable elicitation form, and clearly state the target object, impact scope, irreversibility, and alternatives. After user confirmation, the system should verify whether the authorization credential matches the operation parameters before resuming execution. Breakpoint recovery must work with idempotency mechanisms to avoid duplicate execution caused by repeated user confirmation. For rejection, timeout, or incomplete information, there should be clear termination paths and audit records.
5. Direct File Transfer: A Data Channel That Bypasses the Context Window
File upload capability allows clients to send PDFs, spreadsheets, and images directly to the server without passing the files through the model’s context window first.
Its technical value is as follows:
- Large files do not consume context tokens, reducing truncation and information loss.
- Servers can use dedicated parsers for extraction, validation, indexing, and storage.
- The model receives only summaries, structured fields, or reference handles.
This is more suitable for document review, invoice processing, and report analysis.
However, the direct transfer channel requires security design: file type and size limits, virus scanning, content masking, storage lifecycle, access control, transmission encryption, and auditing are all necessary. The model side should receive necessary summaries rather than full sensitive content. The server side should distinguish temporary files from persistent files to avoid unauthorized downloads. Direct file transfer is not simply “throwing a file at the server”; it is a redivision of the data channel and permission model.
6. Context Governance and Compatibility: Engineering Value of Open Extension
The above capabilities belong to open specifications and their extensions, and are not exclusive to a particular client. Servers that support these capabilities can also run in other compatible clients. This means enterprises can build skill packages, task interfaces, and authorization forms as reusable server-side capabilities rather than binding them to a single client.
For platform providers, skill registration, task scheduling, authorization elicitation, and file parsing should be built as observable and auditable foundational modules. For developers, the priority should be to define clear metadata, permission scopes, and error codes, and avoid hardcoding business logic into prompts.
7. Implementation Scenarios and Recommendations
In e-commerce site building scenarios, skill packages can encapsulate page structures, product configurations, and redesign rules. The model can load them on demand to complete design and adjustments. In customer configuration guidance scenarios, skill packages can provide step-by-step questionnaires, validation rules, and exception handling. In enterprise internal analysis scenarios, skill packages can combine internal knowledge to explain metric definitions and query workflows.
Implementation recommendations:
- Start with small-scale skill registration and canary release.
- Establish skill whitelists and version management.
- Require elicitation for destructive operations.
- Set timeouts, retries, and cancellation for long-running tasks.
- Enable scanning and masking for direct file transfer.
- Finally, use logs, metrics, and tracing to bring skill loading, task status, authorization records, and file flows into a unified observability system.
8. Risks and Boundaries
On-demand loading reduces context usage, but skill content may still introduce incorrect knowledge or malicious instructions, requiring source review and permission isolation. Asynchronous tasks improve throughput, but increase the cost of state management and result consistency. In-execution elicitation improves security, but frequent interruptions affect user experience, so it should be triggered only before irreversible or high-impact operations. Direct file transfer reduces context pressure, but expands server-side data security responsibilities.
Only when permissions, auditing, idempotency, and observability are built together can these capabilities move from “usable” to “operable.”
Overall, this upgrade moves the relationship between models and external servers from tool invocation to skill scheduling, task orchestration, breakpoint authorization, and data channel coordination. For developers and enterprises, the real threshold is not integrating a particular capability, but establishing an engineering governance system around context, permissions, and task lifecycles.
