Skip to main content
Glama

klaro.legal Document Explainer

Explain a contract or official letter

explain_document

Explains a contract, official letter, tax assessment or terms-and-conditions document in plain language, clause by clause. Send the full text of the document. Returns every relevant clause with the original wording, a plain language version and why it matters, plus a short summary. It explains what the document says — it does not give legal advice, does not review the document and does not recommend a course of action. Takes 20 to 60 seconds. If it is still running when this call returns, use get_explanation with the returned analysis_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe full text of the document to explain.
languageNoLanguage the explanation should be written in (ISO 639-1). Defaults to English. The document itself may be in any language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the async nature, the 20-60 second runtime, the handoff path via analysis_id, and the exact shape of the result (original wording, plain-language version, why it matters, plus a summary). It also declares hard scope boundaries (no legal advice, no review, no recommendations), which prevents misuse.

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, then input instruction, output shape, scope limits, and timing/routing – a logical order with no filler. The 'does not… does not… does not' triple is slightly repetitive but each clause closes a distinct misuse path, so the cost is low.

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?

There is no output schema, so the description must describe returns, and it does: clause-level original wording, plain-language rendering, rationale, and a summary. Combined with the async handoff and timing note, an agent has everything needed to call and follow up correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented in the schema; baseline is 3. The description reinforces the required 'text' parameter ('Send the full text of the document') but adds no detail about the 'language' enum beyond what the schema states.

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 precise verb+resource (explains a document clause by clause) and enumerates the concrete document types it covers: contracts, official letters, tax assessments, terms-and-conditions. An agent can immediately tell this is a plain-language explanation tool rather than a summarizer or reviewer.

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?

Explicitly tells the agent what to send ('Send the full text of the document'), states negative scope ('does not give legal advice, does not review the document and does not recommend a course of action'), and routes to the sibling by name when the call is still running ('use get_explanation with the returned analysis_id'). This is complete when-to-use and when-to-defer guidance.

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