Skip to main content
Glama
adama007

testlink-mcp-server

by adama007

get_requirement

Retrieves a single requirement by requirement ID or doc ID, working around TestLink's missing direct lookup by filtering the project's requirements.

Instructions

Fetch a single requirement by requirement id or doc id. TestLink's API has no direct single-requirement lookup — this calls tl.getRequirements for the project and filters client-side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docIdNo
requirementIdNo
testProjectIdYes
Behavior4/5

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

With no annotations provided, the description carries the full burden and adds useful behavioral detail: it reveals that TestLink has no direct single-requirement lookup and that this tool fetches all requirements for the project and filters client-side, implying performance characteristics and why testProjectId is needed. It stops short of describing not-found behavior or return format.

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?

Two sentences, front-loaded with the action, and each sentence earns its place. No filler or redundant restatement of the tool name.

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 single-fetch tool with no output schema and no annotations, the description adequately covers what the tool does and its mechanism. It lacks explicit return value details or error handling, but the complexity is low and the behavior is reasonably predictable.

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 0%, so the description must compensate. It does add meaning by explaining that requirementId or docId are the lookup keys and that testProjectId provides the project scope because the underlying API fetches all project requirements. It does not clarify whether docId and requirementId are mutually exclusive or what happens if both are provided.

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 uses a specific verb ('Fetch') and resource ('single requirement') and clearly distinguishes this from sibling list_requirements by specifying single-record lookup by requirement id or doc id.

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

Usage Guidelines4/5

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

It gives clear context: use when you need one requirement by id/doc id, and explains the TestLink API limitation that forces client-side filtering. It does not explicitly name list_requirements as the alternative but the contrast is implied by 'single requirement' vs the listing behavior.

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

Install Server

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/adama007/MCP-TESTLINK'

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