import_state
Recreate an agent from an export_state document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Recreate an agent from an export_state document.
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| request_id | No |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not state whether import overwrites an existing agent, creates a new agent, is reversible, or requires special permissions. 'Recreate' hints at mutation but leaves an agent unaware of side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no filler and front-loads the core operation. However, the brevity comes at the cost of omitting helpful context about behavior and parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Although an output schema exists, this is a state-restoring tool with no annotations and minimal description. A safe invocation requires knowing the relationship to export_state, the expected state structure, and whether the operation is destructive, all of which are missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the input schema, but it only indicates that 'state' comes from an export_state document. It provides no structure for the deeply nested state object and no explanation of request_id, leaving most parameter semantics unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the operation ('Recreate an agent') and the source ('an export_state document'), which makes the tool's purpose understandable. It does not explicitly differentiate itself from the sibling create_agent, but the use of 'recreate' and the reference to export_state provides meaningful distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies a restoration workflow from an export_state document and pairs naturally with the export_state sibling. However, it does not explicitly state when to use import_state versus create_agent, nor does it mention prerequisites or alternative selection criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.