set_routing
Compile plain English into a routing program and save it on a claimed code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| prompt | Yes |
Compile plain English into a routing program and save it on a claimed code.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| prompt | 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. It implies a write ('save it') but says nothing about whether this overwrites existing routing, what happens if the id is unclaimed, whether the compiled program is validated, or what is returned on success. For a mutation tool this is a significant 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?
A single front-loaded sentence with no filler. It is efficient, though the brevity is partly a symptom of under-specification rather than disciplined editing.
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?
A two-required-parameter mutation tool with no annotations, no output schema, and 0% parameter documentation in the schema demands far more than one sentence. Missing are preconditions (code claimed), overwrite behavior, failure modes, and any sense of how this differs from update_destination.
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 is the only place semantics appear. It loosely maps 'prompt' to plain English input and 'id' to a claimed code, which is genuinely useful, but it gives no format, length, or validity constraints for either parameter.
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 verb 'compile ... and save' plus the resource 'routing program' gives a rough sense of the operation, but the terms 'routing program' and 'claimed code' are internal jargon that an agent cannot ground without outside knowledge. It does not explicitly differentiate itself from siblings like update_destination or simulate_scan, leaving the agent to guess where routing compilation sits in the workflow.
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 update_destination or simulate_scan, nor any prerequisite such as the code needing to already be claimed. The phrase 'claimed code' hints at a precondition but never states it as a rule.
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.