Skip to main content
Glama

get_spec_index

Read-onlyIdempotent

Lists uploaded specification evidence sources, generation identities, and coverage for a project. Supports pagination to show what spec data is indexed across trades without a parsed estimate.

Instructions

List uploaded specification evidence sources, generation identities and coverage. Works across trades without a parsed estimate. Page with next_offset; indexed is not interpretation or scope 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>"
    },
    "name": "get_spec_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description's value-add is the caveat that indexing implies neither interpretation nor scope completeness, plus cross-trade applicability — meaningful but thin; it says nothing about result volume, ordering, or what a 'generation identity' is.

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 short, front-loaded sentences with no filler: purpose, applicability, then pagination and caveat. The final clause is telegraphic to the point of being cryptic, but nothing is wasted.

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 index lister with no output schema and three parameters, the description covers what is enumerated, when it applies, and how to page. Remaining gaps — undisclosed result shape and the offset/next_offset relationship — are minor but real.

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 33%: only project_id is described ('list_projects names them'), while limit and offset carry only bounds. The description partially compensates with 'Page with next_offset', but never explains the limit cap of 40, defaults, or how next_offset in the response maps to the offset parameter.

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?

States a specific verb and three concrete resources: 'List uploaded specification evidence sources, generation identities and coverage.' That distinguishes it from section/clause readers, though 'coverage' overlaps in name with the sibling get_spec_coverage, leaving some ambiguity about which tool answers a coverage question.

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?

Adds a real precondition — 'Works across trades without a parsed estimate' — which tells the agent this is usable before an estimate exists. The caveat 'indexed is not interpretation or scope completeness' implicitly routes interpretation questions elsewhere, but no sibling is named and there is no explicit when-not-here 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