Skip to main content
Glama

Create Test Scenario

create-test-scenario

Create a test scenario linked to a user story and allocate a real TS-. Response includes content: canonical stub markdown already containing id: TS- and story: US-. BLOCKING workflow: call this FIRST → Write the returned content to the repo plans/scenarios path (edit body as needed but keep id: and story:) → call update-test-scenario with the full markdown. Never write scenario markdown that omits id. update-test-scenario rejects missing id/story with a clear error. platformFilePath must be under plans/scenarios/ and end with .md. userStoryOrdinalId is the numeric part of the parent US- id. Optional agentTraceability records Activity inline (no separate report-agent-action for this create).

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": {
      "platformFilePath": "<platformFilePath>",
      "title": "<title>",
      "userStoryOrdinalId": "<userStoryOrdinalId>"
    },
    "name": "create-test-scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
titleYes
gitShaNo
userIdNo
actorTypeNo
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
agentModelNo
branchNameNo
cliVersionNo
policyFileNo
workflowIdNo
skillVersionNo
policyVersionNo
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.
platformFilePathYes
agentTraceabilityNo
userStoryOrdinalIdYes
workflowExecutionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectApiKey / description
      Previous value: -"QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it."New value: +"Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it."
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / botId
      Added value: +{
      +  "description": "QA bots: your botId from your stored TestChimp binding.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / projectApiKey
      Added value: +{
      +  "description": "QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it.",
      +  "maxLength": 256,
      +  "minLength": 8,
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=false; the description goes well beyond that by disclosing the ordinal-ID allocation side effect, the exact shape of the returned content (canonical stub markdown containing id: TS-<ordinalId> and story: US-<n>), and the blocking dependency on update-test-scenario. The only minor gap is not stating that repeated calls allocate new ordinals, but idempotency is already covered by annotations.

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?

The blocking workflow is front-loaded and the arrow sequence makes the ordering scannable, with validation constraints grouped after it. It is dense but nearly every clause carries operative information; the only cost is a long single block that would read better split into workflow vs. field-constraint paragraphs.

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 write tool with 18 parameters and no output schema, the description compensates by describing the return payload (the stub markdown and its id/story fields) and the mandatory follow-up call. It stops short of covering error behavior beyond the id/story rejection and the large optional traceability parameter surface, which is a modest gap for a tool this wide.

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 only 17% across 18 parameters, so the description must compensate — and it does well for the critical ones: platformFilePath must live under plans/scenarios/ and end in .md, userStoryOrdinalId is the numeric part of the parent US-<n> id, and agentTraceability records Activity inline without a separate report-agent-action call. However, most of the remaining optional parameters (gitSha, userId, actorType, branchName, workflowExecutionId, policyFile, etc.) are explained in neither place, leaving the coverage gap only partially closed.

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 ('Create a test scenario linked to a user story') and immediately adds the distinguishing mechanic — allocation of a real TS-<ordinalId> — that separates it from create-user-story and update-test-scenario. The parent linkage and the returned stub make the tool's identity unambiguous.

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

Usage Guidelines5/5

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

Gives an explicit ordered workflow ('call this FIRST → write the returned content to the repo plans/scenarios path → call update-test-scenario with the full markdown') and names the follow-up tool and its precondition. The when-not is also implied sharply: never write scenario markdown without id, and update-test-scenario rejects missing id/story.

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.