Skip to main content
Glama

get_spec_coverage

Read-onlyIdempotent

Inspect specification source coverage, page routing, reader failures, and OCR/table review needs by paging through results; use next_offset to review every page and identify gaps.

Instructions

Inspect specification page routing, reader failures, OCR/table review needs and source coverage. Follow next_offset for every page; the evidence byte bound can return fewer pages than limit. Successful parsing does not establish semantic or contractual completeness.

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": {
      "project_id": "<project_id>",
      "source_sha256": "<source_sha256>"
    },
    "name": "get_spec_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
project_idYesThe project to work on (list_projects names them).
source_sha256YesCurrent uploaded specification source SHA-256 from get_spec_index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, so the description correctly spends its words elsewhere: it discloses that a byte bound on evidence can return fewer pages than the requested limit, and warns that successful parsing is not a completeness guarantee. That is genuinely non-obvious behavior an agent could otherwise misread as a bug or as a passing validation.

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?

Three dense sentences with no filler; the pagination directive comes early and the caveat closes cleanly. The opening sentence is a four-item list that reads slightly as an inventory rather than a crisp scope statement, but nothing is wasted.

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

Completeness3/5

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

With no output schema, the description must carry the return shape, and it only gestures at it via topic names (routing, failures, OCR/table needs, coverage) and the existence of a next_offset field. It never says whether next_offset is null/absent at the end or what the coverage evidence looks like, leaving a gap an agent must discover by trial.

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 coverage is 50% – limit and offset are undocumented in the schema, and the description partially compensates by explaining that offset is driven by a returned next_offset and that limit is not guaranteed due to the evidence byte bound. It still gives no guidance on choosing a limit value or on what a terminal next_offset means.

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?

Uses a specific verb ('Inspect') applied to named diagnostic content: page routing, reader failures, OCR/table review needs, and source coverage. It is clearly a coverage/diagnostics read rather than a clause reader like read_spec_clause, though it never explicitly names a sibling or states the contrast.

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?

Gives an operational rule for pagination ('Follow next_offset for every page') and a caveat that parsing success is not semantic completeness, which implicitly pushes semantic questions to other tools. However, it never states when to call this tool versus get_spec_index or get_spec_requirements, so the routing decision is left to inference.

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