Skip to main content
Glama

get_test_case

Read-only

Retrieves a single Azure DevOps test case by ID, including parsed action and expected-result steps for review or analysis.

Instructions

One test case with its parsed steps (action / expected result).

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": {
      "test_case_id": "<test_case_id>"
    },
    "name": "get_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_case_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description does add genuine value beyond that by disclosing the shape of the payload (parsed steps rendered as action / expected result), which is useful since there is no output schema. It says nothing about behavior when the ID is unknown or about missing/permission-restricted cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with zero padding and the payload detail front-loaded. The brevity is efficient but tips into under-specification rather than tightness, since it omits the retrieval verb and the input entirely.

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?

With no output schema and no annotations covering the return shape, the description does well to state that parsed action/expected-result steps come back. It is still incomplete for a fetch-by-ID tool: the identifier semantics, not-found behavior, and any related artifacts such as attachments or plan context are absent.

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% and there is a single required parameter, test_case_id, which the description never mentions or characterizes. With no schema text to lean on, the description should have clarified that this is the numeric identifier of one specific test case, but it leaves the only input entirely unexplained.

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 phrase "One test case with its parsed steps" conveys the resource and scope (singular test case, including parsed steps), which implicitly distinguishes it from the plural sibling search_test_cases. However, no verb states the operation, so an agent must infer that this fetches a single case by ID rather than, say, constructing one.

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 when-to-use guidance and no alternatives named, even though search_test_cases and get_suite_test_results sit among the siblings and an agent needs to know which one to pick when it only has a name rather than an ID.

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