Skip to main content
Glama

DocuDetect

Read documents you were asked to sign

read_documents_to_sign
Read-only

Reads documents other people sent to this account's verified email address for signature. They belong to the sender, not to this account: you can read them, preview pages and save answers for the user to review (fill_document_to_sign), but never sign or submit them; the user opens the signing link from their email, reviews the saved answers and signs there. list: lists the documents still waiting (not signed, cancelled or expired). get: returns one document: title, sender, expiry and every field with its label (what the form asks there), type, page and position. locked: true means the sender filled it and it cannot change. Open fields show any answer saved so far. Signature fields are signed by the user on the signing page, never here. Labels can be wrong on some forms: preview the page and match each answer to what the printed form asks beside the field. preview: renders one page (page, required) with its fields drawn on and labelled by id, as a JPEG. Use it to read what the printed form asks beside each field before saving answers, and show it to the user.

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": {
      "action": "<action>"
    },
    "name": "read_documents_to_sign"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number (preview; required)
actionYes
documentIdNoId from read_documents_to_sign list (get, preview; required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true by describing the ownership model, what 'locked: true' means, that open fields expose previously saved answers, that signature fields are only signed on the signing page, and that labels can be unreliable so pages must be previewed.

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?

Front-loaded with purpose and the no-signing rule, then action-specific paragraphs. Dense run-ons and colon-chained clauses make it slightly heavy, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still enumerates the returned fields (title, sender, expiry, field label/type/page/position) and explains the preview JPEG output, which is everything needed to call and interpret the tool.

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 67%, and the description compensates by tying each action to its params: page is 1-based and required for preview, documentId comes from the list action and is required for get/preview. It adds pairings the flat schema does not express, though it does not state the JPEG return size or limits.

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

Purpose5/5

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

States a specific verb and resource ('Reads documents other people sent to this account's verified email address for signature') and adds the ownership constraint that the documents belong to the sender, which separates it from the plain read_documents sibling.

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

Usage Guidelines5/5

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

Gives explicit when-to-use per action (list for pending, get for one document, preview for reading printed form labels) and explicit when-not: never sign or submit, save answers via fill_document_to_sign instead, user signs from their email.

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.

Resources