Skip to main content
Glama

spec.crossrefs

For a clause id, return its outgoing references (clauses it cites) and/or incoming references (clauses that cite it — the back-reference index the parse alone doesn't expose). The reverse index is AOID-densified from step text. direction: 'in' | 'out' | 'both' (default). Outgoing also carries an external category: the clause's citations to external specs (Unicode, IETF, WHATWG) as resolvable URLs. Set include_cross_spec: true to also resolve outgoing references from ECMA-262 → ECMA-402 (or vice versa).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
specNo
limitNo
editionNo
directionNo
include_cross_specNo

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It mentions that the reverse index is AOID-densified from step text and that outgoing includes an external category. However, it does not discuss error behavior, pagination, or performance implications, leaving gaps in transparency.

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?

The description is a single focused paragraph that front-loads the main purpose. It is detailed but not overly verbose, though it could be structured with bullet points for clarity. Overall efficient.

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

Completeness2/5

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

No output schema exists, so description should explain return format. It mentions references are clause IDs and external URLs but does not describe the response structure, pagination, or behavior for missing parameters. Incomplete given complexity.

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

Parameters2/5

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

Schema coverage is 0%, so description should compensate. It explains `direction` and `include_cross_spec` well, but fails to describe `spec`, `limit`, and `edition` parameters, covering only 3 of 6 parameters. The description adds meaning for some but leaves others undocumented.

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 clearly states the tool returns outgoing and incoming references for a clause ID, distinguishing it from siblings like clause.get or spec.search. It explicitly defines outgoing (cites) and incoming (cited by) and mentions external specs, giving a specific verb and resource.

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?

The description implies usage for cross-referencing but does not explicitly state when to use this tool vs alternatives like spec.search or clause.list. It mentions the direction parameter but lacks explicit guidance on when not to use the tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct function: clause operations vs. proposal queries vs. spec utilities vs. test262 search. Even the two search tools have clear differences (single vs. cross-spec).

Naming Consistency5/5

All tools follow a consistent `domain.action` pattern using lowercase and snake_case for the action (e.g., `clause.get`, `spec.global_search`, `test262.search`). No mixing of conventions.

Tool Count5/5

17 tools is appropriate for a comprehensive TC39 spec browser. Each tool serves a specific need without redundancy, covering clauses, proposals, grammar, symbols, tables, and test262.

Completeness5/5

The toolset covers the full lifecycle of exploring TC39 specifications: retrieving clauses, searching, cross-referencing, diffing editions, inspecting grammar and symbols, and querying proposals and test262.