assign_agent
Assign an agent to a compartment {agent, compartment}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| compartment | Yes |
Assign an agent to a compartment {agent, compartment}
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| compartment | 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 behavioral burden, and it discloses nothing: no permission requirements, no reversibility or idempotency, no side effects on the agent or compartment, and no error behavior. For a mutation-style assignment operation this is a complete gap.
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 short and front-loaded, which is appropriate, but the trailing brace list is redundant with the schema and consumes the only remaining space that could have carried useful context. It is brief without being efficient.
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?
With two required parameters, 0% schema coverage, no annotations, and no output schema, the description is the only source of context and it supplies almost none. An agent cannot determine valid inputs, side effects, or what a successful assignment returns.
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% and both parameters are bare strings. The description only echoes the property names in braces ('{agent, compartment}'), adding no format, identifier convention, or expected value information beyond what the schema already shows.
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 states a recognizable verb+resource (assign an agent to a compartment), so an agent can grasp the basic action. However, it is essentially a restatement of the tool name with the parameter names appended, and it does nothing to distinguish itself from siblings like create_compartment or freeze_compartment.
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?
There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g., must the agent or compartment already exist?), and no indication of what state the assignment implies. The agent is left to infer all routing decisions from the name alone.
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.