Skip to main content
Glama

Read agreement

read_agreement
Read-onlyIdempotent

Returns the text of the customer's agreement, as the agreement page of the app shows it. Send search to get only the parts around a word or phrase, for example "house". Leave search out to read the whole agreement, for example for a question about the agreement as a whole. A long agreement comes in pages: call again with the next page until page equals pages.

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

Input Schema

NameRequiredDescriptionDefault
pageNoThe page of the whole text. The first is 1.
searchNoA word or phrase. The result has up to 10 excerpts around the matches, not a page.
productNoThe product line of the agreement. Leave it out when only one agreement is paid.

Output Schema

NameRequiredDescriptionDefault
pageNo
textNoA page of the agreement, when the call has no search.
pagesNo
app_urlYes
productYes
excerptsNoEmpty when nothing matches.
more_matchesNoThe agreement has more matches. Send a narrower search, or read the pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint false), so the description correctly spends its words on behavior the annotations don't reveal: long agreements come back in pages and must be re-called until page equals pages. It also notes that search returns up to 10 excerpts instead of a page. It leaves out any note about what happens on an out-of-range page, but the added context is still substantial.

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?

Three front-loaded sentences, each doing a distinct job: what it returns, the search branch, the no-search branch, and pagination. The repeated 'for example' clauses make it slightly wordier than necessary, which keeps it out of the top band.

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?

With an output schema present, the description doesn't need to describe return values, and it correctly avoids that. For a 3-parameter, zero-required read tool, the critical gaps are covered: search vs full text, pagination continuation, and the upstream safety profile via annotations. Only an edge-case note on paging past the end is missing.

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 100%, so 3 is the baseline, and the description earns a point by adding meaning beyond the schema: the page/pages relationship is spelled out as an instruction to keep calling, and search is framed as an alternative result mode rather than a filter. The product parameter's omission rule is left to the schema alone.

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 opens with a specific verb and resource: it 'Returns the text of the customer's agreement, as the agreement page of the app shows it.' That is more precise than the name alone, since it scopes the return to the agreement view rather than any document. It does not explicitly distinguish itself from the sibling read_document, so it falls short of 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 Guidelines5/5

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

It states exactly when to send search ('to get only the parts around a word or phrase') and when to omit it ('to read the whole agreement, for example for a question about the agreement as a whole'). Those are explicit use and don't-use conditions tied to the agent's task, which is the strongest form of usage guidance short of naming a sibling.

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