Skip to main content
Glama

get_test_plan

Read-only

Retrieve a Jira test plan by key to view its details, linked test runs, and Jira issues, with optional field filtering for focused results.

Instructions

Read a test plan by key (GET /testplan/{testPlanKey}). The payload embeds the linked test runs and Jira issues when the plan has any; narrow it with fields. Returns the test plan object as the API sends it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoReturn only these fields, e.g. ["key","name","status"]; sent to the API as one comma-separated parameter
testPlanKeyYesTest plan key, e.g. PROJ-P123

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuinely useful behavior the annotations cannot express — that the payload embeds linked test runs and Jira issues, and that 'fields' can narrow it, letting an agent avoid extra round trips. It stops short of disclosing permissions, error behavior for a missing key, or payload size concerns.

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?

Front-loaded with the operation and endpoint, followed by the two most decision-relevant facts (embedded links, field narrowing). The trailing 'Returns the test plan object as the API sends it' is somewhat filler given there is no output schema to explain, but it is a single short clause.

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 two-parameter read-only getter with full schema coverage and no output schema, the description gives enough to call it correctly — key-based lookup plus what the response contains. It could go further by stating behavior on a missing/invalid key or noting that omitted fields return the full object.

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% — both 'testPlanKey' (with example PROJ-P123) and the comma-separated semantics of 'fields' are already documented in the schema. The description's 'narrow it with fields' adds only a marginal restatement, so the 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+resource+identifier ('Read a test plan by key') and even names the underlying endpoint (GET /testplan/{testPlanKey}), which clearly separates it from a bulk/search tool. It does not explicitly name the nearest sibling (search_test_plans), so an agent must infer that 'by key' is the differentiator.

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 by 'by key' and by the note that 'fields' narrows the payload, but there is no explicit when-to-use/when-not guidance and no named alternative (e.g. search_test_plans or get_test_run) for the case where the caller lacks a key.

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

Deploy Server

Other Tools