Skip to main content
Glama

KATA Research Automation

kata_apply_command

Idempotent

Apply one allowlisted semantic workspace command and return the next workspace snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
workspaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With annotations already declaring idempotentHint=true and destructiveHint=false, the bar for additional disclosure is lower. The description adds meaningful context beyond annotations: it states that exactly one command is applied ('one allowlisted'), and that the tool returns a snapshot, giving the agent an expectation about the response shape and scope. It does not contradict the annotations and adds value by explaining the workspace-command interaction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, compact sentence with no filler. It front-loads the primary action ('Apply') and places the result at the end, making it easy to parse. Every word carries meaning, and there is no redundancy with the tool name or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with two nested object parameters, no output schema, and no parameter descriptions, the description leaves significant gaps: it does not define what a 'semantic workspace command' is, what 'allowlisted' means in practice, what fields are required in the workspace and command objects, or what the 'next workspace snapshot' contains. The idempotency annotation helps but does not resolve these operational unknowns. An agent would likely need to inspect examples or rely on sibling-tool patterns to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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, but it only restates the parameter names in natural language: 'workspace' and 'command' appear as words in the description without explaining their structure or valid values. With two nested object parameters and no deeper schema properties, an agent cannot determine what a valid command object or workspace object looks like. The mention of 'allowlisted' hints at command constraints but does not specify allowed values or formats.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('apply'), a defined resource ('one allowlisted semantic workspace command'), and states the outcome ('return the next workspace snapshot'). This is more specific than sibling names like kata_execute_program or kata_run_automation, clearly signaling a distinct action on a workspace state. It earns a full score because it distinguishes the tool without needing to open the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to choose this tool over its siblings. It does not mention alternatives, exclusions, prerequisites, or a decision context such as 'use when you need to mutate workspace state via a allowlisted command.' The agent is left to infer that this is the command-application tool, but no explicit when/when-not guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources