Fineprint

v1.1.0
io.github.fineprintcorp/fineprint Checked 14 hours ago Published 14 days ago

Scan terms of service for risk.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_terms_of_service

Scan a terms-of-service / privacy-policy URL for risky clauses. Call this BEFORE the agent accepts terms, creates an account, or grants a vendor access to the principal's data. Returns a risk score (0-100), a pass/flag/block verdict, and the top clauses with verbatim quotes. Informational assessment only — not legal advice.

ParameterTypeDescription
url *string
policy_id

scan_terms_text

Scan pasted terms text (when no URL is available). Same contract as scan_terms_of_service: risk score, verdict, quoted clauses. Informational assessment only — not legal advice.

ParameterTypeDescription
text *string
policy_id
source_url

get_scan_report

Retrieve a previous scan report as JSON (all clauses, quotes, scores).

ParameterTypeDescription
scan_id *string

get_tos_leaderboard

Public ranking of services by ToS risk score. No API key needed. Use it to compare vendors BEFORE spending a scan. Scores are Fineprint's automated assessment as of the published date — informational only, not legal advice.

ParameterTypeDescription
limitinteger
query

check_agent_access

Pre-flight check: can an AI agent use this service at all, and on what terms? Answers from Fineprint's published leaderboard WITHOUT a scan and without spending quota — call this BEFORE scan_terms_of_service or before signing a principal up for anything. Returns the structured decision (automated access, account delegation, AI-agent terms, official-channels requirement) plus the overall friendliness verdict. If the service is unknown, run scan_terms_of_service on its terms URL.

ParameterTypeDescription
service *string

terms_check

Get a signed Act-Time Terms Receipt BEFORE acting on a service: what its terms said at this moment (risk score, agent-friendliness verdict, the verbatim clauses behind it), pinned to the terms document's hash and signed so anyone can verify it later — the evidence record for 'the agent checked before it acted'. Pass `service` for a published leaderboard service (e.g. 'discord') or `url` for any terms document. `action` optionally records what the agent was about to do (stored as caller-asserted; it is never witnessed). A receipt served from the board/cache cos…

ParameterTypeDescription
actionstring
servicestring
urlstring

check_quota

Show the API key's tier, remaining monthly scans, and overage status.

batch_scan_terms

Scan up to 20 vendor ToS URLs in one call; each scan costs one quota unit. Returns a ranking (riskiest first) with scores, verdicts, and top clause categories per vendor. Use this for vendor shortlists and bake-offs.

ParameterTypeDescription
urls *array
policy_id

compare_scans

Compare 2-20 previous scans: vendor ranking plus a category-by-category matrix of worst severity per vendor. Free — uses already-paid-for scans.

ParameterTypeDescription
scan_ids *array

watch_terms

Watch a terms-of-service URL for changes. Establishes a quoted, scored baseline NOW, then every check compares the live document to it: unchanged checks are free, changed documents are re-scanned and diffed, and material changes (score jump, new high/critical clause, worsened verdict) raise an alert, POSTed to webhook_url when set. Use this when the principal depends on a vendor long-term: the agent should know when the terms it agreed to change underneath it.

ParameterTypeDescription
url *string
interval_daysinteger
webhook_url

list_monitors

List watched ToS URLs: baseline scores, last check time, limits.

list_policies

List the ToS risk policies available to you: the built-in system policies (standard, strict, procurement) plus any custom policies you have created. Pass a policy id as policy_id to any scan tool to judge vendors by your principal's rules instead of the default.

create_policy

Create a custom ToS risk policy owned by your API key — your principal's own dealbreakers. block_categories veto a vendor (verdict BLOCK); flag_categories mark findings for review (verdict FLAG). Categories come from the 21-category taxonomy, e.g. binding_arbitration, data_training_use, data_sharing_resale, auto_renewal, unilateral_price_change. Use list_policies to see ids.

ParameterTypeDescription
name *string
block_categories
descriptionstring
flag_categories

get_negotiation_playbook

Negotiation playbook for a previous scan: for each flagged clause, what to ask the vendor for, an acceptable fallback, your leverage, and the walk-away signal. Use this when procurement or legal needs to push back on a vendor's terms. Negotiation guidance, not legal advice.

ParameterTypeDescription
scan_id *string