Skip to main content
Glama

index_specification

Destructive

Starts local specification indexing for one uploaded source when document reading is requested, using durable jobs and no paid provider calls; requires current project edit permission.

Instructions

Start local OpenDataLoader/Docling specification indexing for one uploaded source when the user requests document reading. Uses durable jobs and no paid provider calls; requires current project editing permission. Does not generate or accept estimate scope.

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": "index_specification"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/5

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

Adds real context beyond the annotations: local processing, durable jobs, no paid provider calls, and a required 'current project editing permission'. That auth requirement is genuinely useful for a destructive, non-idempotent operation. It does not explain what an existing index loses when re-run, nor how job progress is observed.

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 compact sentences with the action front-loaded and the constraints following in a sensible order. The product name 'OpenDataLoader/Docling' is jargon an agent may not need, but nothing is redundant or padded.

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?

For a mutating, non-idempotent job-start tool with no output schema, the definition leaves the caller without knowing what comes back (a job handle?) or how to check completion. The cost, locality, and permission facts are covered, so the remaining gap is operational follow-through rather than core behavior.

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 100%, so both parameters are already fully documented including the SHA pattern and where to obtain it. The description only reinforces that the target is a single uploaded source; it adds no new semantics such as whether the SHA must be current or what happens on a stale hash.

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 resource: 'Start local ... specification indexing for one uploaded source.' The scope word 'one' and the closing clause 'Does not generate or accept estimate scope' separate it from estimate-oriented siblings, though it never names get_spec_index or get_plan_index directly.

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 an explicit trigger ('when the user requests document reading') and an explicit exclusion ('Does not generate or accept estimate scope'). It stops short of naming the alternative tool an agent should call instead, or the precondition that a source must have been uploaded and hashed first.

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