Skip to main content
Glama

list_references

Read-onlyIdempotent

Lists references from a source or to a target (reverse: what references this), optionally filtered by relation; supply exactly one source or target pair.

Instructions

List references FROM a source (forward) or TO a target (reverse — 'what references this'), optionally filtered by relation. Provide exactly one of the src_kind+src_id or dst_kind+dst_id pair.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
dst_idNo
src_idNo
dst_kindNo
relationNooptional relation filter (controlled set: supports/refutes/defines/depends/duplicates/grounds/supersedes, or any custom value)
src_kindNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's job is added context — and it delivers the directional model and the XOR pairing constraint, which are real behavioral rules not visible in annotations. It omits pagination/limit behavior and what a reference record contains, but it adds genuine value beyond the structured fields.

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 primary action and direction semantics, then the invocation constraint. No filler or restated title text.

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 five-parameter, no-output-schema query tool, the description supplies the direction model and the pairing rule that the schema alone leaves undocumented. Remaining gaps are minor: no statement of result shape, limits, or the error behavior when the pairing rule is violated.

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?

With only 20% schema coverage, the description must carry parameter meaning, and it does: it explains that src_kind+src_id and dst_kind+dst_id are mutually exclusive pairs and what each pair semantically selects, plus the optional relation filter. It doesn't clarify what happens if both or neither pair is supplied beyond 'exactly one', but the core semantics are covered.

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?

States a specific verb and resource ('List references') and immediately defines the two directional scopes: FROM a source (forward) or TO a target (reverse). The parenthetical gloss 'what references this' makes the reverse direction unambiguous even for an unfamiliar agent.

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?

Gives concrete usage context: choose the src pair for forward traversal, the dst pair for reverse traversal, and 'Provide exactly one of' the two pairs. It does not name an alternative tool or state exclusions, so it stops short of full when/when-not guidance.

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