Skip to main content
Glama

ZeroWidth

Add an answer to a shim

workbench_shim_add_answer

Adds one answer (a label and, optionally, when it applies). The shim needs three examples of it before it builds again with the new answer. May return needs_confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerYes
shimIdYesShim id, from workbench_shim_list.
workspaceNoWorkspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys.
approvalIdNoApproval id from a prior needs_confirmation response. Omit on the first call.
descriptionNoWhen this answer applies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With annotations only covering safety flags (readOnly=false, destructive=false, openWorld=false), the description adds real behavioral context: the confirmation gate ('May return `needs_confirmation`') and the prerequisite of three examples before the shim rebuilds. It still doesn't say what state the answer is added in or whether it can be undone.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action, with no filler. Slightly dense wording around 'three examples of it' but overall efficient.

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

Completeness3/5

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

For a 5-param mutation tool with no output schema, the description hints at the confirmation return path but does not explain what happens after needs_confirmation or how approvalId closes the loop. It omits any note on workspace scoping (left to the schema) and does not describe the effect of adding an answer before the rebuild threshold is met.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 80%, so the schema already documents shimId, workspace, approvalId, and description. The description loosely maps to the `answer` and `description` params ('a label and, optionally, when it applies') but adds no syntax or format detail beyond the schema's maxLength/minLength constraints.

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?

States a clear verb+resource ('Adds one answer' to a shim), so the operation is identifiable. However, it does not distinguish itself from the adjacent sibling workbench_shim_add_examples, and the phrase 'a label and, optionally, when it applies' is ambiguous about what an 'answer' actually is (the schema calls it a plain string).

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 on when to use this tool versus workbench_shim_add_examples or workbench_shim_create. The only contextual hint is the behavioral note that three examples are needed before a rebuild, which is not a usage-selection rule.

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