Skip to main content
Glama

generate_test_case

Generate a test-case skeleton with steps, sample request, and assertions for a chosen ESB protocol and optional scenario, so teams can start protocol validation quickly.

Instructions

Generate a test-case skeleton (steps, sample request, assertions) for one ESB protocol and an optional scenario name.

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": {
      "protocol": "<protocol>"
    },
    "name": "generate_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolYes
scenarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the shape of what is produced (steps, sample request, assertions) and the term 'skeleton' implies non-executing scaffolding, but it does not say whether anything is persisted, whether an invalid protocol errors, or where the generated output goes.

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?

One sentence, front-loaded with the action and output, with the scoping inputs trailing. Every clause carries information and nothing is padded.

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 simple two-parameter generator with no annotations and no output schema, the definition covers what it produces but omits the two things an agent most needs: valid protocol vocabulary (there is a list_protocols sibling that could be named) and some indication of the return format or whether results are saved.

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 0%, so both parameters depend on the description. It adds real meaning by clarifying that 'protocol' takes a single ESB protocol and that 'scenario' is an optional name, but it never indicates valid protocol values or points at list_protocols as the source of them.

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 gives a specific verb ('Generate'), resource ('test-case skeleton'), and even enumerates the produced artifacts (steps, sample request, assertions) plus the scoping input (one ESB protocol, optional scenario). It is clear enough to distinguish from siblings like build_mq_config or validate_jdbc_url, though it never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

Usage is only implied: the tool is for producing test-case scaffolding for a given protocol. There is no statement of when to prefer this over inspecting a payload or validating a config, and no mention of prerequisites such as knowing a valid protocol name.

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