Skip to main content
Glama

Read an agreement

read_agreement_text
Read-onlyIdempotent

Reads the text inside one agreement by id, page by page, with the organization's playbook (its own review rules, or null). Use it to summarize the agreement, list its clauses, parties, amounts and key dates (start, end, renewal, notice periods, payment due), and flag each place it departs from the playbook, quoting the page. status pending means the text is not read yet (try again in a minute); none means the PDF has no readable text. When truncated is true, call again with fromPage set to the next page. Answers assistant_reading_off when the organization has not let the Assistant read agreements: say so, and that an owner or admin can turn it on in Settings, Wren. Read only.

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": {
      "id": "<id>"
    },
    "name": "read_agreement_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
fromPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the playbook field possibly being null, the meaning of status 'pending' and 'none', pagination via truncated/fromPage, and a specific permission failure with remediation steps. That is exactly the kind of operational detail annotations cannot carry.

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?

Purpose is front-loaded in the first clause, and the remaining sentences map to concrete agent decisions (extraction targets, retry, pagination, permission error). It is dense but slightly run-on, packing multiple distinct behaviors into single sentences.

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 a two-parameter read tool with no output schema, the description covers what can be extracted, how to continue past truncation, and how to interpret non-success states. It does not describe the overall response shape (beyond the named fields), leaving the agent to discover the structure on first call.

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 description coverage is 0%, so the description must carry the parameter meaning. It explains fromPage precisely ('call again with fromPage set to the next page') and id is self-evident from 'one agreement by id'. It does not state whether fromPage is 1-based or what the page size is.

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 ('Reads the text inside one agreement by id, page by page') and scopes it to document text plus the organization's playbook, which distinguishes it from metadata-style siblings like get_agreement. It does not name any sibling explicitly, so the differentiation must be inferred from the resource wording.

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 concrete intended uses: summarizing, listing clauses/parties/amounts/key dates, and flagging departures from the playbook. It also tells the agent what to do on 'truncated' (re-call with fromPage) and on 'assistant_reading_off' (report it and point to Settings). No explicit exclusions or named alternatives are given.

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