Skip to main content
Glama

Create a shim

workbench_shim_create

Creates a shim from a name, the question it answers, and its answers. Add examples afterwards with workbench_shim_add_examples — three or more per answer and it builds on its own. May return needs_confirmation.

Input Schema

NameRequiredDescriptionDefault
nameYesA short name, e.g. "Support triage".
answersYes
questionYesThe question, e.g. "Which team should read this message?"
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.
inputsComeFromNoOne line on where the inputs come from, in the user's words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-read-only but non-destructive, non-open-world write. The description adds real context beyond that: it may return `needs_confirmation`, implying an approval flow mediated by approvalId. It doesn't explain permissions or what else the response contains, so not a 5.

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?

Two tight sentences, front-loaded with the create action and its inputs, then the follow-up action and the confirmation caveat. No filler or repetition of schema text.

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

Completeness4/5

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

For a create tool with no output schema and good schema coverage, the description covers the required inputs, the next-step workflow, and the possibility of a needs_confirmation return. It is nearly complete; only the shape of a successful return and any permission preconditions are left implicit.

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 83%, so the schema already documents name, question, answers, workspace, approvalId and inputsComeFrom. The description restates the three required inputs but adds no format or constraint detail beyond the schema, making it baseline-adequate rather than additive.

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 specific verb (creates) and resource (shim) plus the three inputs it is built from, which distinguishes it from workbench_shim_add_examples and workbench_shim_add_answer by scope. It does not define what a 'shim' is conceptually, but the resource is unambiguous within the workbench namespace.

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

Usage Guidelines4/5

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

Gives a clear sequencing rule: create first, then add examples with workbench_shim_add_examples, with a concrete threshold (three or more per answer). No explicit when-not or exclusion versus siblings like workbench_shim_add_answer, so it stops short of full routing guidance.

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