Skip to main content
Glama

digest

Answers questions about files in a specified workdir and cites proven file lines, avoiding full file reads.

Instructions

Ask about files in the absolute workdir instead of reading them: every line of the answer cites a proven file line.

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": {
      "files": "<files>",
      "question": "<question>",
      "workdir": "<workdir>"
    },
    "name": "digest"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
workdirYes
questionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose one important trait: output lines are guaranteed to cite proven file lines, and workdir must be absolute. It says nothing about cost, what happens when the question cannot be answered from the given files, or whether unlisted files are consulted, leaving meaningful behavioral gaps.

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?

A single tightly written sentence with the key constraint (instead of reading them) front-loaded and no filler. It is compact to the point of being cryptic, especially the phrase 'proven file line', which is not defined.

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?

For a three-required-parameter tool with no annotations and no output schema, the description is thin: it establishes intent and one output guarantee but omits parameter formats, failure behavior, and result shape. An agent could not reliably construct a correct call from this definition alone.

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 description coverage is 0% for three required parameters, so the description must compensate, and it only clarifies that workdir is absolute and that the query concerns files. It never explains whether the files array holds absolute paths or paths relative to workdir, nor what question accepts (single question, natural language, scope), leaving two of three parameters undocumented anywhere.

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?

The description gives a concrete action (ask a question about files) plus a distinguishing behavioral trait (every answer line cites a proven file line), which separates it from plain file reading. The tool name 'digest' alone is opaque, so the description is doing real work here, though it never states the form of the answer beyond its citations.

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?

'Ask about files ... instead of reading them' implies the selection condition (prefer this over reading files directly), which is useful implied guidance. There are no explicit exclusions, no mention of file-size or question-type limits, and no routing to siblings like collect or delegate, so the agent must infer the boundaries.

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