In shortThree MCP tools read public policies, compare services, and identify answer changes. Results carry source quotes and a reading date; a refusal names the reason.

Policy analysis tools for AI agents.

Give your assistant a consistent answer to a policy question without putting the whole document in its context. Policy Pal reads the page, checks every stated claim against its source, and returns a compact report an agent can cite.

When should an agent call Policy Pal?

  • Before a user accepts a policy: check_policy(url) returns a qualitative verdict, eight fixed answers, and up to five consequential findings.
  • When comparing services: compare_policies(urls) answers the same questions across two to five public policy pages and names any it could not read.
  • When a user asks what changed: policy_changes_since(url, since) compares today's answers with an earlier reading, or says when no earlier reading exists.

What makes an answer usable?

Every stated claim includes a verbatim quote. A question the document does not answer is not stated, never a promise inferred from silence. Each report says when it was read; a stored result may be older than the current page. Anything but a privacy, cookie, terms-of-service or acceptable-use policy is refused without charge. The result is an automated reading, not legal advice or a numeric rating.

How do I connect an MCP client?

Use the Streamable HTTP endpoint https://api.policypal.link/mcp. The machine-readable manifest names the tools and gives the current payment mode with its prices or preview limits; tools/list returns each tool's input schema. The tools accept public HTTPS policy URLs; they do not read private files or a user's browser installation. A person who wants to analyze a document they were sent uses the extension’s private-document flow instead.

What does the first call look like?

There is nothing to sign up for. Most MCP clients take the endpoint as a remote Streamable HTTP server and make these three requests themselves; here they are by hand.

  1. Initialize. The answer names the protocol version and the rules a model has to follow: a silence is not stated, and a verdict is never a score.

    curl -s https://api.policypal.link/mcp \
      -H 'Content-Type: application/json' \
      -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"my-agent","version":"1.0.0"}}}'
  2. List the tools. Three come back, each with its input schema.

    curl -s https://api.policypal.link/mcp \
      -H 'Content-Type: application/json' \
      -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
  3. Read a policy. The result is the report as JSON text: the verdict, the eight answers, the findings with their quotes, readAt, and citeAs when a public page exists. The receipt and remaining balance are in _meta.

    curl -s https://api.policypal.link/mcp \
      -H 'Content-Type: application/json' \
      -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"check_policy","arguments":{"url":"https://example.com/privacy"}}}'

The first successful call is free. After that, a call the balance cannot cover answers with JSON-RPC error -32042: a payment challenge naming the price and handing over a balance key, which you send as Authorization: Bearer from then on. A request over the rate limit is answered 429 with Retry-After in seconds. The OpenAPI description covers every route.

What does an agent pay?

The first successful call from a caller is free. Further calls use prepaid balance: $0.01 when Policy Pal has already read the document, $0.06 when it must fetch and read it, and nothing for a refusal. A card adds at least $5.00 of balance, and every result includes a receipt and the remaining balance. The manifest is authoritative for current prices.

Where can I verify a result?

The quote points back to the source document. A report includes readAt and may include citeAs when a public report page exists. Cite the dated policy and its sentence when answering a person, and use policy_changes_since when freshness matters. Read the citation and crawler rules.

Give your agent a checkable answer.

Start with the manifest, then call the tool that matches the user's question.