Skip to main content
Glama

legal tos summary

legal_tos_summary
Read-only

Plain-English summary of any terms of service, privacy policy or EULA, from a URL or pasted text (up to ~45k tokens): green/yellow/red rating, red flags with the exact quoted clause and what it means, your rights vs theirs, what data is collected, shared, retained or sold, fees, auto-renewal, refunds and price changes, termination, arbitration and class-action waiver, how terms can change, and everything relevant to bots, automation, scraping, API use and AI training on your content. Not legal advice. $0.03. Costs $0.03 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
urlNo
textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only cover readOnly and openWorld, so the description carries the rest of the burden and does add real context: the ~45k token input ceiling, the paid x402/USDC call requirement, and the 'Not legal advice' liability disclaimer. It does not mention failure modes (unfetchable URL, paywalled pages) or latency, which keeps it short of a 5.

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

Conciseness3/5

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

The long enumerative sentence is front-loaded and dense with genuinely useful capability detail, but the pricing is stated twice ('$0.03.' then 'Costs $0.03 USDC per call (x402).'), which is literal duplication, and the 60-plus-word middle sentence mixes output contents with caveats in a single breath.

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 no output schema, the description correctly carries the return-value burden by enumerating what the summary contains, and annotations handle the read-only/open-world profile. It is nearly complete; the remaining gaps are interaction between the two input modes and error behavior.

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 0% for both parameters, so the description must compensate — and it does, mapping 'url' to 'from a URL' and 'text' to 'pasted text' and adding a size limit (~45k tokens), which the schema lacks entirely. It stops short of saying whether the two are mutually exclusive or how they interact when both are supplied.

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+resource ('Plain-English summary of any terms of service, privacy policy or EULA') and then enumerates the exact output artifacts (green/yellow/red rating, quoted red flags, rights vs theirs, data collection, etc.). It is clearly distinguishable from neighbors like report_privacy_policy or summarize because it names its own input class and structured deliverable.

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

Usage Guidelines3/5

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

Input context is spelled out ('from a URL or pasted text (up to ~45k tokens)') and the 'Not legal advice' boundary is useful, but there is no explicit when-to-use/when-not-vs-alternatives guidance against the many sibling analyzers (report_privacy_policy, report_contract_review, summarize, extract). Usage is implied rather than routed.

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