Skip to main content
Glama

document_text

Extracts text and file paths from a downloaded DEHú notification or communication PDF using its sent reference, with optional receipt inclusion.

Instructions

Text of a downloaded notification/communication PDF (by sentReference) plus its file paths.

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": {
      "sent_reference": "<sent_reference>"
    },
    "name": "document_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNo
sent_referenceYes
include_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does little with it. 'Downloaded' is the only behavioral hint, and it is left implicit; there is no mention of permissions, what happens for non-PDF or missing references, where the 'file paths' point, or whether the call is a pure read.

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 compact sentence with the key identifier front-loaded in parentheses and no filler. It is efficient, though terseness is partly the cause of the missing semantics rather than a virtue in itself.

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-parameter tool with no annotations and no output schema, the description is thin. It partly compensates by stating the return shape ('text ... plus its file paths'), but two of three parameters are undocumented and the download precondition is never made explicit.

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 parameters. The description only echoes the sent_reference parameter (restating it as 'sentReference'), leaving profile and include_receipt entirely unexplained in both schema and prose. An agent cannot tell what profile scopes or what a receipt toggle returns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely (text of a downloaded notification/communication PDF, keyed by sentReference) plus companion file paths, which is more specific than the bare name. However it is a noun phrase with no verb, and it never distinguishes this from sibling tools like read_communication or list_communications, so an agent must guess whether this is the extraction tool or a duplicate of an existing reader.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is given. The word 'downloaded' hints at a precondition (the document must already be fetched), but the description never states that as a requirement nor says what to do if the PDF is not downloaded. There is no routing signal versus read_communication or list_notifications.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.