kata_compile_workflow
Compile two compatible semantic demonstrations into a deterministic JSON-Schema-constrained program.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| demos | Yes |
Compile two compatible semantic demonstrations into a deterministic JSON-Schema-constrained program.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| demos | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful behavioral context by describing the output as 'deterministic' and 'JSON-Schema-constrained', which suggests validation and a fixed structure. It does not, however, disclose what happens with incompatible demos, error behavior, or the exact form of the resulting program, so there is room for improvement.
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 sentence that is front-loaded with the primary verb and noun phrase, and every word contributes meaning. It is compact, clear, and free of filler or redundant restatements of the tool name.
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?
Given only two parameters and no output schema, the description must explain the full contract, but it does not. It does not describe the 'name' parameter, what 'demos' should look like, what the returned program is, or any error or validation behavior. The tool has readOnlyHint=true, so side effects are not a concern, but the overall invocation contract remains underspecified.
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?
With 0% schema description coverage, the description must compensate for the schema's lack of parameter documentation. It adds some meaning to 'demos' by calling them 'two compatible semantic demonstrations', but it completely omits the 'name' parameter and does not clarify what the demos should contain or how compatibility is determined. This leaves a significant semantic gap.
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 action ('Compile'), the input ('two compatible semantic demonstrations'), and the output ('a deterministic JSON-Schema-constrained program'). It is not a tautology and differentiates itself from siblings like kata_execute_program and kata_run_automation by indicating a compilation step rather than execution. However, 'semantic demonstrations' and 'program' remain somewhat abstract, so it loses one point for precision.
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?
No guidance is given about when to use this tool versus alternatives such as kata_plan_triage, kata_execute_program, or kata_run_automation. The description implies it should be used with two compatible demonstrations, but it never states conditions, exclusions, or when a sibling would be more appropriate. The agent is left to infer the intended workflow.
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.