Skip to main content
Glama
sbd-toe-mcp
by SbD-ToE

Trace SbD-ToE Requirement Sources (estação 3)

trace_sbd_toe_requirement_sources
Read-only

Trace requirements to direct source anchors and compensated REQ→CTRL→ACO source chains, showing type and confidence per hop; missing sources and unknown IDs are reported.

Instructions

Where each requirement's SOURCE is: DIRECT sources (source_anchors — the manual's own 'Fontes' marker) and the COMPENSATED chain REQ→CTRL→ACO→sources with type and confidence per hop (label coverage_compensated: coverage by cross-model correspondence, NOT authorship; 'related' does not cover). Served verbatim from the published surface; requirements without a declared source, and unknown ids, are declared.

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": {
      "requirement_ids": "<requirement_ids>"
    },
    "name": "trace_sbd_toe_requirement_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNodefault 20 (pagina sobre os ids pedidos; G1).
offsetNo
include_chainsNodefault true; false devolve contagens + ref (dieta).
requirement_idsYesIds concretos (ex.: os selected do select).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.6/5.0
Behavior4/5

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

readOnlyHint already covers the safety profile, so the description earns credit for what it adds: results are 'served verbatim from the published surface', missing sources and unknown ids are explicitly declared rather than silently dropped, and coverage_compensated is defined as coverage by cross-model correspondence, NOT authorship, with 'related' not counting as coverage. That is real interpretive context an agent could not get from the 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 purpose is front-loaded, which is good, but the single sprawling sentence is overloaded with parentheticals, mixed Portuguese/English fragments ('dieta', 'G1'), and jargon like 'compensated' and 'published surface'. It is compact yet hard to parse, so length is not the problem – readability is.

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 read-only tool with no output schema and four parameters, the description does the important work: it explains the shape of the answer (direct anchors vs chain hops with type/confidence) and the edge-case handling for undeclared sources and unknown ids. Only pagination/limit behavior and the sibling boundary remain unaddressed.

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 75%, so limit/offset/include_chains are already documented in the schema itself, and the description adds no per-parameter meaning beyond noting the chain hops carry type and confidence. With most parameters covered structurally, the baseline 3 is appropriate; the description neither compensates for the undocumented offset nor clarifies pagination semantics.

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+resource: retrieving where each requirement's SOURCE comes from, splitting DIRECT (source_anchors / manual 'Fontes' marker) from a COMPENSATED REQ→CTRL→ACO chain. That is far more precise than a restated title. It does not, however, contrast itself with trace_sbd_toe_graph or any sibling that also traverses relations, so an agent must infer the boundary.

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?

Usage is implied rather than stated: the tool is for provenance lookup on concrete requirement ids, and the schema note 'Ids concretos (ex.: os selected do select)' hints at the select_sbd_toe_requirements workflow. There is no explicit 'use this when X, use Y otherwise' and no stated prerequisites or exclusions.

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