Skills, Background Tasks, Elicitation, and File Transfer in the Model Context Protocol: A Practical Guide
Connecting large language models to orders, tickets, knowledge bases, or data platforms usually means registering a set of tools—names, parameters, and a one-line description. This works for atomic operations but fails to express business sequencing, mandatory human confirmation, and rollback. This article examines four complementary capabilities layered on top of open protocols like the Model Context Protocol: versioned skills that ship with servers, background tasks for long-running work, mid-execution elicitation of user input, and file transfer that bypasses the model's context. It explains how these pieces solve real engineering problems, how they chain together in a typical change-management workflow, and what boundaries—permissions, auditing, observability, degradation, and testing—must be respected when moving agent integrations from demos to production.
From Tool Catalogs to Loadable Skills
When you connect a large language model to an order system, a ticketing platform, a knowledge base, or a data platform, the common approach is to register a set of tools: a name, parameters, and a brief description. The model decides whether to call them based on this. This works well for atomic operations, but it struggles to express “in what order should this type of business be done, which steps require human confirmation, and how to roll back on failure.” A tool catalog answers “what can be done,” not “what should be done in this scenario.”
Open interfaces in the spirit of the Model Context Protocol separate the conversational client from external capability servers: the client handles intent understanding and orchestration, while the server handles domain data, permissions, and execution. Recently, the industry has added four capabilities on top of this division of labor: skills that ship with servers, tasks that run in the background, mid-execution elicitation of user input, and file transfer that bypasses the model context. This article explains, from an engineering perspective, what problems they solve, how they work together, and where the boundaries lie when implementing them. We discuss only general mechanisms, not any specific model or console.
Overly long tool descriptions crowd the context; overly short ones lead the model to pick the wrong tool or miss constraints. A more robust approach is to separate the “capability catalog” from “operational knowledge.”
Keep the capability catalog lean: each tool retains only its name, input/output structure, and risk level. Turn operational knowledge into skills: a versionable document containing applicable scenarios, recommended steps, prohibitions, example inputs, and failure branches. Skills don’t need to be stuffed into every prompt—they can be loaded when the model judges the current topic to be relevant. This way, the context is mostly reserved for user questions and current-turn results, while the domain manual enters on demand.
Skills should be published and upgraded together with the server. Clients shouldn’t require users to install a separate, potentially outdated manual. Organizations can also distribute different skills by role: front-line support sees standard troubleshooting sequences, while administrators see change windows and approval requirements. Skills are not a hidden prompt marketplace, but rather a server’s public operating conventions for its own domain, which facilitates auditing and review.
When designing skills, follow a few principles. First, skills describe processes and decision criteria; they don’t replace the permission system—whether data can be deleted is still decided by server-side policy. Second, steps must be interruptible, with each step corresponding to a clear tool or human action; avoid unverifiable statements like “please complete the remaining configuration yourself.” Third, record skill versions alongside tool versions, so you can determine in a post-mortem whether a bad call came from an outdated process or a model mis-selection. Fourth, keep skill text concise; leave lengthy specifications in the documentation repository and include only retrieval pointers and key prohibitions in the skill.
The example structure can be plain—what matters is that it’s machine-readable and human-reviewable:
skill: change-type data operationswhen: the user requests modifying or deleting existing business datasteps:- confirm target identifiers and impact scope- if the operation is irreversible, initiate interactive confirmation- call the change tool and write back a result summarynever:- execute a deletion before confirming target identifiers- write credentials into conversation summaries
Moving Long-Running Work to Background Tasks
Synchronous tool calls assume “send a request, wait for the result, then continue talking.” Retrieving a single record is usually fine, but batch validation, report generation, cross-system reconciliation, or a complete multi-step agent workflow will tie up the conversation. Users can’t handle other questions in parallel, and connection timeouts can leave half-finished state stuck on the client.
Background tasks separate “initiation” from “retrieval.” The conversational client hands the server a task description, input references, and an idempotency key, and immediately receives a task identifier. The server executes in its own environment and, upon completion, calls back with a result or failure reason, or lets the client poll. The conversation can continue clarifying requirements or handling other topics, pulling in the summary by task identifier when needed.
A task isn’t just “dump all the logic onto the server.” You need to agree on:
- A state machine with at least: accepted, running, awaiting input, succeeded, failed, cancelled. “Awaiting input” connects to the elicitation mechanism discussed in the next section.
- Inputs as references rather than large inline payloads, to avoid copying the same spreadsheet into both the conversation and the task parameters.
- Idempotency keys to prevent double charges or double writes from repeated user clicks.
- Timeouts, retries, and dead-letter handling defined on the server side. The model should never have to guess whether “calling again is safe.”
- What gets returned to the model should be a summary and key fields; raw large results belong in object storage or a business database, read according to permissions.
- Cancellation must genuinely stop side effects, not just hide the progress bar in the UI.
If a long workflow is itself like a small agent—planning, calling multiple internal tools, writing back to multiple tables—it should run even more so as a server-side task. The conversational client keeps only the goal, constraints, and final acceptance criteria, without piling dozens of intermediate tool traces into the context. This saves tokens and reduces the risk of intermediate reasoning being truncated with no way to recover.
Mid-Execution Elicitation
Fully automated write operations are risky. Creating billable items, executing irreversible data changes, or sending external notifications should all pause when the server already has sufficient context but has not yet produced side effects, to ask the user for confirmation or additional information.
Elicitation is exactly this kind of pause: the server declares what’s missing (confirmation, a choice, short text, or a link-based authorization), the client collects the information via a form or redirect, and execution resumes from the breakpoint—rather than having the model restate the entire history. Compared with “the model verbally asking in conversation,” elicitation is initiated by the server; fields, options, and validation rules are given in structured form, and answers go directly into task state, where they can’t be diluted by subsequent chit-chat.
Good elicitation scenarios include: verifying object names or IDs before irreversible operations; guiding users through authorization when permissions are insufficient; presenting multiple candidate options for a business owner to choose from; and regulatory or internal-policy requirements for an explicit consent record. Unsuitable scenarios include interrupting the user at every step, or repeatedly asking about irrelevant fields the system could default on.
Implementation notes: pauses must have timeout and abandonment policies; confirmation text should be generated by the server and stored immutably, to avoid the model rewriting it into something inconsistent with what’s actually executed; if the user declines, the task enters a failed or cancelled state with an explanation of which side effects did not occur; link-based authorization must validate the redirect source to prevent a confirmation from being hijacked onto a different task.
Keep Files Out of the Context Window
Many business inputs are contracts, spreadsheets, or images. Extracting file content into the prompt before calling a tool is both expensive and prone to exceeding limits, and it widens the exposure of sensitive data in conversation logs. Direct file transfer lets the conversational client hand the file stream or upload credentials to the capability server, which parses it, stores it, or passes it downstream. The model sees only the type, size, checksum, and the summary or structured fields the server returns.
Practical points: bind uploads to tasks to avoid orphaned files; restrict types and sizes, and scan for malicious files on the server; on parsing failure, return an actionable error rather than pushing binary errors back into the model; output files should likewise use storage references, with the model only citing links or identifiers. On permissions, who can initiate an upload and who can read parsed results should follow the existing identities in the business system—not defaulting to “whoever is in the model’s session can see everything.”
How the Four Capabilities Chain Together
A typical change flow can work like this. After the user states the goal, the conversational client loads the relevant skill based on the topic, learning that it must first verify the target, then confirm, then write. The time-consuming validation and multi-system writes are submitted as a background task. When the task reaches an irreversible step, it enters “awaiting input”; the server initiates elicitation, and the user confirms the target identifier. If the user attaches a spreadsheet, the file goes directly to the server, never entering the context. When the task finishes, the model reports to the user—based only on the summary—what was done, where it failed, and whether a retry is possible.
With this division of labor, each layer’s responsibility is clear: the model handles understanding and orchestration; skills handle domain steps; tasks handle long-running execution and state; elicitation handles human authorization; the file channel handles large objects. No layer should bypass another layer’s security controls. For example, even if a skill says “deletion is allowed,” the server must still verify identity and target; even though the task runs in the background, side effects must remain blocked until elicitation completes.
Engineering Checks Before Rollout
Before going live, check item by item rather than judging by whether the demo conversation flows smoothly.
Permissions: tools, skills, tasks, and files should share the same identity and tenant boundaries; avoid the server executing on behalf of users with an over-privileged service account. Auditing: record skill versions, task identifiers, elicitation text, user decisions, and final write operations, retained long enough for after-the-fact investigation. Observability: task queue lengths, time spent awaiting elicitation, and failure reason categories should feed into existing monitoring and alerting—not live only in the chat window. Degradation: when the server is unavailable, the conversational client should clearly state that it cannot execute, rather than pretending it succeeded. Cost: load skills on demand, return only summaries, and keep files out of context—only when all three are done together are context and storage costs controllable. Testing: with fixed skills and a mock server, cover “confirmation declined,” “duplicate submission,” “task timeout,” and “wrong file type”—don’t test only the happy path.
The value of open interfaces is that the same server capabilities can be called by multiple compatible clients, rather than being locked to one conversational product. Therefore, skill text, task states, and elicitation fields should use existing generic structures from the protocol wherever possible, avoiding private markup that only one client can parse as the sole channel. Clients may differ in experience, but the security semantics—who confirmed, which operation was confirmed, and whether rollback occurred after failure—must be identical.
Conclusion
Tool calling solves “being able to touch external systems”; skills, background tasks, elicitation, and direct file transfer solve “touching external systems the way the business requires.” Skills keep domain expertise on the server side and load it on demand; tasks let long workflows proceed without blocking the conversation; elicitation returns the decision over irreversible operations to the user; and the file channel keeps large objects from polluting the context. Design the state, permissions, and auditing of these four things properly, and agent integration will move from demo to operable production workflow.
