Skip to main content
Glama

execute_tool

Run a named tool with given arguments to perform PCB design actions in KiCAD's transactional workflow.

Instructions

Run a routed tool by name with the given arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
argumentsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states that the tool runs another tool, but does not disclose that the executed tool may have side effects, that errors will occur for unknown names, or that the result format depends on the invoked tool. There is no mention of security considerations or that this tool could trigger destructive actions, making it dangerously under-specified.

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

Conciseness2/5

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

The description is a single short sentence, but it is under-specified rather than concise. It omits critical information that an agent needs to use the tool correctly, so the brevity does not serve the user; it hides gaps. A concise description should still be self-sufficient.

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

Completeness1/5

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

This is a meta-tool that can execute any routed tool, so its context requirements are high. The description does not mention how to discover valid tool names, how to construct arguments, what the output schema represents, or any error handling. Without this, an agent cannot safely or effectively invoke it, making the definition woefully incomplete.

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

Parameters1/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 explain both parameters. It mentions 'by name' and 'given arguments' but does not clarify what 'name' refers to (e.g., the list of valid tool names from search_tools or get_tool_schema), nor does it specify that arguments must conform to the named tool's input schema. The default null for arguments is undocumented, leaving the agent without essential usage details.

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

Purpose4/5

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

The description states a clear verb ('Run') and resource ('a routed tool') with a parameterized interface (by name and arguments). It distinguishes itself from the sibling tools, which are specific domain actions, by positioning itself as a generic dispatcher. However, it doesn't explicitly contrast itself with the siblings, so it loses a point for not making that differentiation explicit.

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?

No guidance is given about when to use this tool versus the specific sibling tools. There is no mention of prerequisites (e.g., checking that the named tool exists), no alternative suggestions, and no hint that this is the dynamic execution path. The intended use is implied but not stated, leaving the agent to infer it.

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