Skip to main content
Glama

Draft a conversation test

draft_conversation

Draft a conversation test's scenarios, or its dummy tools, from an agent's prompt, as the form in the app does. Nothing is saved or run: read the draft, change it, and pass it to test_prompt. Spends a little credit and counts against the day's drafts.

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": {
      "prompt": "<prompt>"
    },
    "name": "draft_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatNoWhat to draft. Default scenarios.
toolsNoFor scenarios: the test's dummy tools, so a scenario can set what one returns.
promptYesThe agent's prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost and quota behavior ("Spends a little credit and counts against the day's drafts") and the non-persistent nature of the output. This directly reconciles readOnlyHint=false with "nothing is saved or run": it is a generating call with a side effect on quota, not a stored write. destructiveHint=false is consistent with the stated non-persistence.

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?

Three short sentences, front-loaded with the core action, then behavior, then routing. No filler and no repeated annotation 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 3-parameter tool with full schema coverage, no output schema, and informative annotations, the description covers action, side effects, quota, and the downstream step. The one gap is the shape of the returned draft the agent is told to "read, change," which is left undefined.

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 100%, so the enum for `what`, the dummy-tool object shape, and the `prompt` field are already fully documented in the schema. The description's phrase "scenarios, or its dummy tools" merely echoes the `what` enum, and it does not clarify how the `tools` array interacts with `what: scenarios`, so it adds little beyond structured fields.

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

Purpose5/5

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

States a specific verb and resource: draft a conversation test's scenarios or its dummy tools, generated from an agent's prompt, mirroring the app's form. That is enough to separate it from test_prompt (which executes) and get_test (which retrieves an existing test) without opening a schema.

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 workflow: read the draft, edit it, then hand it to test_prompt, and flags that nothing is saved or run so the agent does not expect persistence. It stops short of explicit exclusion criteria (e.g., when to use get_test or list_tests instead), so it is strong context rather than a full when/when-not rule set.

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.