Skip to main content
Glama

Prepare missing test details

prepare_test_block
Read-onlyIdempotent

Collect up to two missing wording fields for an existing task. Uses forms when supported; otherwise ask returned questions in chat and report that no form appeared. Read-only: save accepted wording with update_task. Never include secrets or treat answers as launch approval.

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": {
      "testId": "<testId>",
      "expectedRevision": "<expectedRevision>",
      "blockId": "<blockId>"
    },
    "name": "prepare_test_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoDraft one short sentence, usually 10–25 words: action + one target + essential constraints. Preserve accepted wording.
testIdYes
blockIdYes
scenarioNoDraft 1–3 short sentences in second person, present tense: situation + reason to act now. Do not repeat the task.
stopConditionNoDraft one short "Stop when" sentence naming an observable on-screen state at task completion. No alternatives or off-screen events.
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
noteNo
savedNo
statusYes
testIdNo
blockIdNo
messageNo
wordingNo
nextToolNo
questionsNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / expectedRevision / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / expectedRevision / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / expectedRevision / minimum
      Added value: +-9007199254740991
  2. Changed3 schema fields changed
    • addedInput schema / properties / scenario / description
      Added value: +"Draft 1–3 short sentences in second person, present tense: situation + reason to act now. Do not repeat the task."
    • addedInput schema / properties / stopCondition / description
      Added value: +"Draft one short \"Stop when\" sentence naming an observable on-screen state at task completion. No alternatives or off-screen events."
    • addedInput schema / properties / task / description
      Added value: +"Draft one short sentence, usually 10–25 words: action + one target + essential constraints. Preserve accepted wording."
  3. Changed8 schema fields changed
    • removedInput schema / properties / scenario / $ref
      Removed value: -"#/properties/task"
    • addedInput schema / properties / scenario / maxLength
      Added value: +500
    • addedInput schema / properties / scenario / minLength
      Added value: +1
    • addedInput schema / properties / scenario / type
      Added value: +"string"
    • removedInput schema / properties / stopCondition / $ref
      Removed value: -"#/properties/task"
    • addedInput schema / properties / stopCondition / maxLength
      Added value: +500
    • addedInput schema / properties / stopCondition / minLength
      Added value: +1
    • addedInput schema / properties / stopCondition / type
      Added value: +"string"
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered structurally. The description nevertheless adds real behavioral context beyond them: the form-vs-chat interaction mode and the instruction to report when no form appeared. It stops short of describing the returned payload or how questions are matched to fields, so a 3 fits.

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?

Four short sentences, front-loaded with the primary action, then interaction mode, then constraints. Dense and free of filler, though the mid-sentence clause about forms and chat is slightly compressed and rewards a second read.

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?

Output schema exists, so return values need not be explained, and the description covers the interaction fallback path that the schema cannot convey. For a 6-parameter tool with 3 undocumented params and a write-hand-off, it is close to complete, missing only an explanation of what expectedRevision guards against.

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 50%: task, scenario and stopCondition are documented in the schema, while testId, blockId and expectedRevision are not. The description's "up to two missing wording fields" implies callers should supply only the fields that are missing, which adds meaning, but it never clarifies expectedRevision or blockId, so the coverage gap is not compensated. Baseline 3 applies.

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 and resource at a specific scope: "Collect up to two missing wording fields for an existing task," which tells an agent the tool gathers draft wording rather than persisting it. It also names the sibling that performs the write (update_task), so the boundary is visible without opening schemas. It does not explain how it differs from the other question-retrieval siblings, which keeps it below a 5.

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 condition for use (missing wording fields) and an explicit alternative for the follow-up action: "save accepted wording with update_task." It also constrains behavior with "Never include secrets or treat answers as launch approval." There is no explicit when-not-to-use statement, but the read-only framing and the hand-off to update_task leave little ambiguity.

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