Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

QMetry: Fetch Requirement Details

qmetry_fetch_requirement_details
Read-onlyIdempotent

Fetch detailed QMetry requirement data by numeric ID and version to access summaries, descriptions, statuses, and custom fields for reporting or updates.

Instructions

Get detailed information for a specific QMetry requirement by numeric ID

Toolset: Requirements

Parameters:

  • projectKey (string): Project key - unique identifier for the project (default: "default")

  • id (number) required: Requirement numeric ID (required for fetching specific requirement details). This is the internal numeric identifier, not the entity key like 'MAC-RQ-730'. You can get this ID from requirement search results or by using filters.

  • version (number) required: Requirement version number (required for fetching specific requirement version details). This is the internal numeric identifier for the version.

Output Description: JSON object with requirement details including ID, key, summary, description, status, and all metadata

Use Cases: 1. Get requirement details by numeric ID 2. Retrieve requirement metadata for reporting 3. Get requirement summary and properties 4. Fetch requirement details before linking or updating 5. Access requirement field values and custom fields 6. Get requirement version-specific information

Examples:

  1. Get requirement details by numeric ID

{
  "id": 4791316,
  "version": 1
}

Expected Output: Detailed requirement information including summary, description, status, and all fields

Hints: 1. This API requires a numeric ID parameter, not entity key 2. If user provides entityKey (e.g., MAC-RQ-730), first call FETCH_REQUIREMENTS with a filter on entityKeyId to resolve the numeric ID 3. After resolving entityKey → numeric ID, call this tool with the resolved numeric ID 4. Version parameter is required - use 1 for the latest version unless user specifies otherwise 5. This tool provides complete requirement information including all custom fields 6. Use this tool to get detailed requirement information that's not available in the list view

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRequirement numeric ID (required for fetching specific requirement details). This is the internal numeric identifier, not the entity key like 'MAC-RQ-730'. You can get this ID from requirement search results or by using filters.
versionYesRequirement version number (required for fetching specific requirement version details). This is the internal numeric identifier for the version.
projectKeyNoProject key - unique identifier for the projectdefault
Install Server

TDQS

A4.5/5.0
Behavior4/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 the safety profile is established. The description adds meaningful behavioral context beyond annotations: it requires the internal numeric ID rather than the entity key, explains that version is required with 1 meaning latest, and states that the response includes all custom fields and metadata. There is no contradiction with annotations.

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?

The description is well-organized with bolded sections and front-loads the core purpose, but it is redundant: parameter text duplicates the schema, Output Description and Expected Output repeat each other, and several Use Cases restate the same point. The useful hints are buried after a lot of repetitive material.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even without an output schema, the description provides the complete calling picture: required parameters, how to resolve entityKey to numeric ID, version defaulting, expected output fields, and a concrete example. For a read-only fetch of a single requirement by ID/version, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds value by giving concrete guidance: version defaults to 1 for latest, entityKey must first be resolved via FETCH_REQUIREMENTS, and an example payload shows realistic values. It repeats the schema's parameter text, but the hints and example make the numeric-ID/version semantics more actionable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Get detailed information for a specific QMetry requirement by numeric ID.' It further differentiates itself from the list-oriented sibling by stating this tool returns details 'not available in the list view' and by explicitly warning that the numeric ID is not the entity key.

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

Usage Guidelines5/5

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

The Hints section explicitly tells the agent when to use this tool versus an alternative: if the user provides an entityKey, first call FETCH_REQUIREMENTS to resolve it, then call this tool. It also gives the default version behavior ('use 1 for the latest version unless user specifies otherwise') and identifies this as the tool for complete requirement information beyond the list view.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SmartBear/smartbear-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server