Skip to main content
Glama
testrail-mcp
by tmurraypt

get_test

Retrieves a specific TestRail test by its test ID, letting you inspect test details for project or run workflows.

Instructions

Get a specific test

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_id": "<test_id>"
    },
    "name": "get_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_idYesTest ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and delivers almost none of it. It does not say whether the call is read-only, what happens when the test_id does not exist (error vs empty), whether access is scoped by project/permissions, or what the response contains.

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?

A single short sentence with no filler, front-loaded with the verb and resource. It is efficient, though the terseness leaves the substance thin rather than genuinely informative.

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?

This is a simple one-parameter lookup with a fully documented schema and no output schema, so the bar is low. Still, with no annotations and no statement about errors, scope, or return shape, the definition only barely covers what an agent needs.

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% for the single test_id parameter, so the schema already documents the input and the description need not repeat it. The description adds no meaning beyond the schema, which matches the baseline 3 given full coverage.

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?

"Get a specific test" states a verb and a resource, and the word "specific" hints at single-record retrieval versus the sibling get_tests. But it never names or contrasts with that sibling, and "test" is left undefined, so the agent gets only a vague sense of purpose.

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, no prerequisites, and no mention of alternatives such as get_tests for listing or get_results_for_case for related data. The agent must infer that a known test_id is required before calling.

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