Skip to main content
Glama

Document operations service — Atom

Document operations service

document_operations_service
Read-onlyIdempotent

Submits a document-operation record (source and extraction, declared documents and findings, editing, preservation, conversion, verification, delivery) and returns a deterministic DOCUMENT_OPERATIONS_SOUND / DOCUMENT_OPERATIONS_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across four sections, including computed output-verification, finding-location and exact-quote coverage checks, with per-check evidence. Audits the declared record; it processes no documents.

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

Input Schema

NameRequiredDescriptionDefault
sourceNoSource evidence.
editingNoEditing evidence.
deliveryNoDelivery and hygiene evidence.
findingsNoDeclared findings: {name, location, quoted_exactly_before_interpretation}.
documentsNoDeclared documents: {name, output_reopened_and_checked}.
operationNoDocument operation being audited.
conversionNoConversion evidence.
extractionNoExtraction evidence.
deliverableNoDeliverable evidence.
preservationNoPreservation evidence.
verificationNoVerification evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses the output shape that annotations cannot: three possible verdicts, a four-section structure, computed coverage checks, and per-check evidence. It also discloses the key behavioral caveat that the tool only audits declared data. It does not state what happens when sections are omitted, which is the main residual gap.

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?

Two tight sentences, front-loaded with the action and result, followed by the scope limitation. The parenthetical field enumeration is long but earns its place by mapping the schema surface; nothing is redundant.

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 an 11-parameter tool with nested objects and no output schema, the description covers the return contract (verdict tiers, four sections, per-check evidence) and the non-processing caveat. The inner structure of each nested evidence object is deferred to an external SERVICE.md reference rather than explained here, which is the only shortfall.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that the findings and documents arrays are what drive the finding-location and exact-quote coverage checks, and that the declared fields feed computed output-verification. That connects the terse 'Source evidence.'-style schema descriptions to the checks they enable, which the schema alone does not convey.

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 pair — submits a document-operation record and returns a deterministic verdict — and names the verdict vocabulary (SOUND / NOT_SOUND / INSUFFICIENT_EVIDENCE). The closing clause 'Audits the declared record; it processes no documents' sharply bounds what the tool is. No siblings exist to differentiate from, which is the only thing keeping this from a 5.

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?

The description gives a clear usage context (auditing a declared manifest) and an explicit exclusion: it processes no documents, so an agent should not reach for it to extract, convert, or edit files. It stops short of naming an alternative for the actual document-processing work, leaving that inference to the agent.

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.