Skip to main content
Glama

klaro.legal Document Explainer

Fetch a running or finished explanation

get_explanation

Fetches the result of an explain_document call that was still running. Pass the analysis_id it returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysis_idYesThe analysis_id returned by explain_document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully reveals the asynchronous retrieve-later pattern, but does not say what is returned if the explanation is not yet ready, whether repeated polling is expected, or any rate/expiry limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the dependence on explain_document front-loaded. Nothing extraneous.

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

Completeness3/5

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

For a single-parameter async-retrieval tool with no output schema and no annotations, the description is adequate but incomplete: it never indicates the shape of the returned explanation or what the caller should do when the result is unavailable.

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 coverage is 100% and the schema itself already documents analysis_id as 'returned by explain_document'; the description repeats this almost verbatim. Baseline 3 applies since the schema does the work.

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 (fetch) and resource (result of explain_document) and ties itself to its sole sibling, so an agent can tell it apart. The qualifier 'that was still running' slightly conflicts with the title's 'running or finished', leaving a small ambiguity about scope.

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?

It gives a clear triggering condition: use this after an explain_document call that was still running when it returned. It does not state what to do if the original call already completed, so the when-not case is left implicit.

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