Skip to main content
Glama

get_requirement

Read-only

Fetch the exact text of a specified requirement from an ECSS or NASA standard by document ID and requirement ID, returning its citation and record kind for precise quoting.

Instructions

Get the exact text of one requirement.

doc_id: e.g. "ECSS-Q-ST-80C" or "ECSS-Q-ST-80" or "NPR 7150.2"; issue words are allowed ("ECSS-Q-ST-80C Rev.2"). req_id: ECSS clause + letter, e.g. "5.2.1a" (DRD content: "A.2.1<5.2>a"; a definition: its number, "3.2.1"; a requirement printed without a letter: "4.2.3 req 2"); NASA tag, e.g. "FSR 24", "SWE-144", or an FCR item, e.g. "FCR 11 / 7.2.1.c"; untagged NASA standards: section + item, e.g. "4.2a", "4.3(1)", or the n-th "shall" paragraph of a section, e.g. "4.4 req 1". Records carry a kind: requirement, recommendation, permission, guidance, definition or deleted — say which when answering — and issue, issue_date, page, tier. Not found: loaded_issues (the issue or revision letter named is not the loaded one: say so, do not answer as if it were), records_in_clause (a clause with several records: ask for one), or nearest_ids (suggestions to read, never to cite unread). A record returned with asked_for holds the item asked for inside its text.

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": {
      "doc_id": "<doc_id>",
      "req_id": "<req_id>"
    },
    "name": "get_requirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idYes
req_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only, closed-world profile, yet the description goes well beyond them: it enumerates the record fields returned (`kind`, `issue`, `issue_date`, `page`, `tier`) and names three distinct not-found shapes (`loaded_issues`, `records_in_clause`, `nearest_ids`) with what each means. It still does not say whether multiple records can come back or how `asked_for` wrapping is signalled structurally.

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 one-line purpose, then parameter formats, then failure modes — a sensible order. Dense pseudo-schema prose with parenthetical examples runs long, but each parenthetical documents a real id variant.

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?

No output schema exists, and the description compensates by naming returned fields and the not-found variants. Residual gap: the overall response envelope (single record vs. list, where `asked_for` sits) is only partly conveyed, which matters for a lookup tool with a free-form id grammar.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full load — and does: doc_id formats with examples ("ECSS-Q-ST-80C", "NPR 7150.2", issue words allowed) and a detailed req_id grammar covering DRD content, definitions, untagged items, NASA tags, and "n-th shall paragraph" addressing. This is meaning an agent could not recover from the bare string schema.

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?

Opens with a specific verb and resource plus scope: "Get the exact text of one requirement." That distinguishes it in practice from search_requirements or get_section_outline, but no sibling is named, so an agent must infer the boundary itself.

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?

Strong on what to do after a lookup (say the `kind` when answering, never cite `nearest_ids` unread, ask when a clause has several records), which is real usage guidance. But it never states when to reach for this tool versus search_requirements or get_section_outline — i.e., that you first need a valid req_id before calling it.

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