Skip to main content
Glama

ai_tos_summary

Read-only

AI terms of service and privacy policy analyzer — Reads a terms of service or privacy policy (url= of the page, or text= up to 24,000 characters) and returns a plain-English summary, an A-E fairness grade with score and verdict, and red flags (severity high/medium/low, why it matters, and a supporting quote checked word-for-word against the text). Also extracts data collected, data sharing, user rights actually granted, auto-renewal, cancellation, arbitration and class-action waiver (with opt-out), governing law, liability cap, the license taken over user content, AI-training use and how terms can change, plus offline keyword signals as a cross-check. For agents deciding whether to sign up for, buy from or integrate with a service. Not legal advice. Price: $0.012 USDC (Base, via x402).

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": {
      "url": "<url>"
    },
    "name": "ai_tos_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYese.g. https://www.apple.com/legal/internet-services/itunes/us/terms.html

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description goes far beyond by disclosing the 24,000-character input ceiling, the exact output structure (grade with score and verdict, red flags with severity and word-for-word verified quotes), the auxiliary offline keyword cross-check, and the $0.012 USDC x402 payment requirement. Those are behavioral facts an agent cannot get from the schema or annotations.

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 and input modes are front-loaded before the output enumeration, and nearly every clause carries distinct information. The long run-on enumeration of extracted fields (arbitration, governing law, liability cap, AI-training use, etc.) is dense but not wasteful for a tool with no output schema.

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 carry the return contract — and it does, itemizing the grade, verdict, red-flag severities, quote verification, and every extracted clause category. Input modes, size limit, cost, and the legal-advice disclaimer are all present, leaving no material gap for correct invocation.

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% for the single 'url' parameter, so the baseline is 3. The description does add the 24,000-character limit for text input, but it advertises a 'text=' parameter that does not appear in the input schema at all, which is an inconsistency an agent could trip over.

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?

Names a specific verb and resource (reads a ToS or privacy policy) and enumerates the concrete artifacts it returns: plain-English summary, A-E fairness grade, red flags with severity and quote. This is clearly distinguishable from near-siblings like ai_contract_risk, which targets existing agreements rather than pre-signup evaluation of vendor terms.

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?

States the decision context explicitly — 'For agents deciding whether to sign up for, buy from or integrate with a service' — and adds a scope caveat ('Not legal advice'). It does not name an alternative tool or a when-not-to-use condition, which keeps it below a 5.

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