Skip to main content
Glama

get_test_plan

Retrieves test plan details by Jira issue key, including associated tests when Xray is configured, so you can review coverage and prepare execution.

Instructions

Get details of a test plan, including associated tests if Xray is configured.

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": {
      "plan_key": "<plan_key>"
    },
    "name": "get_test_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_keyYesJira issue key of the test plan (e.g. "PROJ-100")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure. It usefully reveals that associated tests are included only when Xray is configured, but it does not cover permissions, error behavior when the plan is missing, or other read-only semantics beyond the verb 'Get'.

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?

The description is one concise, front-loaded sentence. Every part contributes to scope or return-content clarity.

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 simple one-parameter read tool with no output schema, the description gives the essential return scope and the Xray conditional. It is adequate, though it could mention missing-plan behavior or permissions.

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?

The single plan_key parameter is fully described by the schema, including the Jira issue key format. The description adds no meaning about the parameter beyond what the schema already provides.

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?

The description names a specific verb (Get) and resource (details of a test plan) and adds the conditional inclusion of associated tests. It does not explicitly contrast with the sibling list_test_plans, but the single-plan scope is still clear.

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

Usage Guidelines3/5

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

Use is implied: fetch one test plan when its details are needed. The description does not state when to choose list_test_plans or create_test_plan, nor does it mention preconditions or exclusions.

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