Skip to main content
Glama

create_test_doubles

Mocks, stubs, fakes for testing

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "interface": "<interface>",
      "type": "<type>",
      "framework": "<framework>"
    },
    "name": "create_test_doubles"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
frameworkYes
interfaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it says nothing. It does not disclose whether files are written to disk, where they land, whether existing files are overwritten, or what the tool returns.

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?

It is short to the point of being a label rather than a description, with no front-loaded verb or scope. Brevity here reflects under-specification rather than efficiency.

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?

For a tool with three required parameters, no annotations, and no output schema, the description omits everything an agent needs: what is generated, in what form, and where it goes. Nothing about the call semantics can be determined from the definition.

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% across three required parameters, so the description must compensate and largely does not. Naming 'mocks, stubs, fakes' loosely gestures at the type enum (while omitting 'spy'), but 'interface' and 'framework' receive no explanation at all in either the schema or the description.

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

Purpose3/5

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

The fragment 'Mocks, stubs, fakes for testing' names the resource (test doubles) and implies a creation intent that the tool name supplies, but it never states a verb or what the tool actually produces. It does partially distinguish itself from the sibling generators, which produce tests rather than doubles, but an agent must infer that distinction from names alone.

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?

There is no statement of when to use this tool versus the many test-generation siblings, no prerequisites, and no exclusions. The word 'testing' is the only contextual hint, which is implied usage rather than 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.