{"spec":"scrubmytext-agent-discovery/1","name":"ScrubMyText + Agent Infrastructure","version":"7.5.0","description":"Deterministic text integrity plus external state, authority, budget, provenance, and coordination controls for AI agents.","homepage":"https://scrubmytext.com/","documentation":"https://scrubmytext.com/developers/","quickstart":"https://scrubmytext.com/agent-quickstarts/","quickstarts":{"actionSafety":"https://scrubmytext.com/agent-action-safety-quickstart/","webhookInbox":"https://scrubmytext.com/agent-quickstarts/catch-my-signal/","humanApproval":"https://scrubmytext.com/agent-quickstarts/approve-my-action/","vetoWindow":"https://scrubmytext.com/agent-quickstarts/challenge-my-action/","integrationReadiness":"https://scrubmytext.com/agent-quickstarts/ready-my-agent/","authorizationQuorum":"https://scrubmytext.com/agent-quickstarts/quorum-my-action/","durableDeadline":"https://scrubmytext.com/agent-quickstarts/deadline-my-task/","reviewCapacity":"https://scrubmytext.com/agent-quickstarts/budget-my-attention/","operatorEscalation":"https://scrubmytext.com/agent-quickstarts/escalate-my-agent/","termsEvidence":"https://scrubmytext.com/agent-quickstarts/pin-my-terms/","policyMatch":"https://scrubmytext.com/agent-quickstarts/match-my-policy/","compensation":"https://scrubmytext.com/agent-quickstarts/compensate-my-action/","contextStatus":"https://scrubmytext.com/agent-quickstarts/revoke-my-context/","contextRights":"https://scrubmytext.com/agent-quickstarts/license-my-context/","disclosureBudget":"https://scrubmytext.com/agent-quickstarts/meter-my-disclosure/","contextualQuality":"https://scrubmytext.com/agent-quickstarts/trust-my-choice/","documentSafety":"https://scrubmytext.com/agent-quickstarts/document-safety/","textSafety":"https://scrubmytext.com/agent-quickstarts/text-safety/","reworkMyText":"https://scrubmytext.com/agent-quickstarts/rework-my-text/"},"discovery":{"openapi":"https://api.scrubmytext.com/openapi.json","llms":"https://api.scrubmytext.com/llms.txt","mcpServerCard":"https://api.scrubmytext.com/.well-known/mcp/server-card.json","mcpDirectory":"https://api.scrubmytext.com/.well-known/mcp.json","x402":"https://api.scrubmytext.com/.well-known/x402"},"protocols":{"rest":{"baseUrl":"https://api.scrubmytext.com","openapi":"https://api.scrubmytext.com/openapi.json"},"mcp":{"transport":"streamable-http","endpoint":"https://api.scrubmytext.com/mcp","protocolVersions":["2025-11-25","2026-07-28"]}},"authentication":{"publicAllowance":["scrub_text","inspect_text","fingerprint_action","check_agent_readiness","list_quality_cards","get_quality_card","compare_quality_targets"],"trustMyChoiceContributor":{"enrollment":"https://api.scrubmytext.com/trustmychoice/contributor","keyFormat":"smt_tmc_…","monthlyWrites":500,"tools":["record_quality_observation","request_quality_correction"]},"subscription":"Bearer API key","x402":{"enabled":true,"routes":["/x402/v1/scan","/x402/v1/redact","/x402/v1/compare","/x402/v1/detect-secrets","/x402/v1/validate-output","/x402/v1/sanitize-context","/x402/v1/prepare-for-agent","/x402/v1/rework"],"network":"eip155:8453","priceUsd":0.01}},"recommendedWorkflows":[{"id":"action_intent","job":"Prevent duplicate consequential actions across retries","startWith":"fingerprint_action","paidControl":"lock_action_intent"},{"id":"veto_window","job":"Hold an explicitly permitted action for a cooling-off and exception-only veto window","startWith":"fingerprint_action","paidControl":"manage_action_challenge"},{"id":"authorization_quorum","job":"Require independent N-of-M authorization and consume one execution right","startWith":"fingerprint_action","paidControl":"manage_action_quorum"},{"id":"operator_supervision","job":"Enforce deadlines, bounded review capacity, and private operator escalation","startWith":"check_agent_readiness","paidControl":"manage_agent_escalation"},{"id":"terms_and_policy","job":"Pin observed terms and compare bounded provider and consumer policy tokens","startWith":"manage_terms_pin","paidControl":"match_policy_requirements"},{"id":"reversible_action","job":"Bind a compensating action before executing consequential work","startWith":"manage_action_compensation","paidControl":"manage_action_compensation"},{"id":"context_rights","job":"Check context status, declared rights, and cumulative disclosure limits before reuse","startWith":"manage_context_status","paidControl":"manage_disclosure_budget"},{"id":"contextual_quality","job":"Inspect task-specific service evidence and uncertainty before choosing an exact integration version, then contribute a privacy-safe outcome","startWith":"get_quality_card","freeWrite":"record_quality_observation"},{"id":"safe_context","job":"Inspect and prepare untrusted text before model ingestion","startWith":"inspect_text","paidControl":"prepare_for_agent"},{"id":"future_control_plane","job":"Constrain budgets, authority, leases, stop state, handoffs, receipts, reconciliation, provenance, and commitments","startWith":"manage_agent_stop","paidControl":"reserve_action_budget"}],"tools":[{"name":"scrub_text","title":"ScrubMyText — Scrub Text","description":"Normalize hidden/control characters and formatting artifacts without rewriting wording. Free or paid."},{"name":"inspect_text","title":"InspectMyText — Inspect Text","description":"Inspect exact Unicode, invisible characters, normalization, and mixed-script anomalies. Free or paid."},{"name":"scan_untrusted_text","title":"ScanMyText — Scan Untrusted Text","description":"Use before an agent ingests pasted, retrieved, uploaded, or externally supplied text. Returns structural and heuristic risk signals; it does not determine maliciousness or safety. Trial, subscription, or x402 pay-per-call."},{"name":"redact_sensitive_text","title":"RedactMyText — Redact Sensitive Text","description":"Use before storing, sharing, logging, or sending text downstream when it may contain credentials or identifiers. Pattern-based redaction; trial, subscription, or x402 pay-per-call."},{"name":"compare_text","title":"CompareMyText — Compare Text","description":"Use to verify what changed between two text versions and whether differences are only scrub/format artifacts. Trial, subscription, or x402 pay-per-call."},{"name":"detect_secrets","title":"DetectMySecrets — Detect Secrets","description":"Use before an agent logs, stores, or forwards text that may contain credentials. Finds likely API keys, private keys, JWTs, cloud credentials, and secret patterns without echoing values. Trial, subscription, or x402 pay-per-call."},{"name":"validate_output","title":"ValidateMyOutput — Validate AI Output","description":"Use immediately before a downstream action when model output must be valid JSON or match a schema. Trial, subscription, or x402 pay-per-call."},{"name":"sanitize_agent_context","title":"SanitizeMyContext — Sanitize Agent Context","description":"Use before putting untrusted retrieved or uploaded text into a model context. Normalizes structural artifacts, returns risk signals, and can redact sensitive patterns. Trial, subscription, or x402 pay-per-call."},{"name":"prepare_for_agent","title":"PrepareMyContext — Prepare for Agent","description":"Use as the default preprocessing step before an AI agent consumes untrusted external text. Returns agent-ready text plus inspection, risk-scan, and secret-detection reports. Trial, subscription, or x402 pay-per-call."},{"name":"rework_text","title":"ReworkMyText — Rework Text","description":"Use when an agent needs a deterministic, no-LLM rewrite while preserving protected facts such as numbers, URLs, emails, and quotes. Returns change metrics and preservation checks; does not verify authorship or watermark status. Trial, subscription, or x402 pay-per-call."},{"name":"fingerprint_action","title":"LockMyAction — Fingerprint Action","description":"Use before retryable work to derive a stable SHA-256 action fingerprint and idempotency key from an action name, optional scope, and JSON arguments. Object key order does not affect the result. Returns no input values and stores nothing. Free or paid."},{"name":"lock_action","title":"LockMyAction — Lock Action","description":"Use immediately before a consequential agent action to atomically claim an idempotency key so retries cannot execute it twice. Subscription API key required."},{"name":"lock_action_intent","title":"LockMyAction — Fingerprint and Lock Action","description":"Use immediately before a consequential retryable action when no stable idempotency key exists. Deterministically fingerprints the action and arguments, atomically claims that key, and returns safe_to_execute. Repeat calls with equivalent object-key ordering return the same fingerprint and cannot acquire a second active lock. Subscription API key required."},{"name":"check_action","title":"LockMyAction — Check Action","description":"Use to inspect an idempotency key before or after an agent action. Subscription API key required."},{"name":"complete_action","title":"LockMyAction — Complete Action","description":"Paid: mark the current lock completed and preserve the idempotency record for its configured retention period."},{"name":"release_action","title":"LockMyAction — Release Action","description":"Paid: release an uncompleted action lock using its lock_id so another attempt can safely acquire it."},{"name":"create_signal","title":"CatchMySignal — Create Signal Inbox","description":"Use when an agent must wait for an external callback, webhook, job completion, or asynchronous event. Subscription API key required."},{"name":"get_signal_events","title":"CatchMySignal — Get Events","description":"Paid: retrieve events received by a temporary signal inbox in arrival order."},{"name":"delete_signal","title":"CatchMySignal — Delete Inbox","description":"Paid: immediately delete a signal inbox and all stored event bodies."},{"name":"request_approval","title":"ApproveMyAction — Request Approval","description":"Use when an agent needs independent human approval before a consequential action. Creates a secure approval link. Subscription API key required."},{"name":"check_approval","title":"ApproveMyAction — Check Approval","description":"Paid: check whether a human approval request is pending, approved, rejected, expired, or cancelled."},{"name":"cancel_approval","title":"ApproveMyAction — Cancel Approval","description":"Paid: cancel a pending human approval request so its link can no longer approve the action."},{"name":"manage_action_challenge","title":"ChallengeMyAction — Manage Veto Window","description":"Create, inspect, consume, or cancel a digest-bound cooling-off window. A bearer challenger can veto before the deadline; afterward the owner can atomically consume one execution right during a bounded window. This is exception handling, not affirmative consent or legal approval. Subscription API key required."},{"name":"reserve_action_budget","title":"BudgetMyAction — Reserve Budget","description":"Atomically reserve integer units under a named, period-scoped ceiling. A reservation_key makes retries idempotent. The service stores hashes and counters, not purchase details. Production; subscription API key required."},{"name":"record_action_receipt","title":"ReceiptMyAction — Record Receipt","description":"Create or retrieve an immutable receipt digest for an action outcome without storing the action or outcome payload. Production; subscription API key required."},{"name":"verify_signed_signal","title":"VerifyMySignal — Verify Signed Signal","description":"Verify an HMAC-SHA256 signal, enforce timestamp freshness, and reject a replayed nonce. The message and shared secret are never stored. Production; subscription API key required."},{"name":"manage_resource_lease","title":"LeaseMyResource — Manage Lease","description":"Atomically acquire, inspect, or release a short-lived exclusive lease on a hashed resource key. Production; subscription API key required."},{"name":"manage_authority_delegation","title":"DelegateMyAuthority — Manage Delegation","description":"Issue, consume, inspect, or revoke a narrow bearer capability bound to one action fingerprint and a maximum use count. This is a technical capability, not identity proof or a legal delegation. Production; subscription API key required."},{"name":"manage_agent_stop","title":"StopMyAgent — Manage Stop Signal","description":"Set, inspect, or clear a durable stop signal for a hashed agent or workflow key. Callers should fail closed whenever stopped is true. Production; subscription API key required."},{"name":"manage_task_handoff","title":"HandoffMyTask — Manage Handoff","description":"Create a bearer-token task handoff, let another paid API identity claim it exactly once, and inspect, complete, or cancel the transfer. Only task fingerprints are stored. Production."},{"name":"manage_action_reconciliation","title":"ReconcileMyAction — Manage Reconciliation","description":"Open, inspect, append digest-only evidence to, or resolve a discrepancy between expected and observed action outcomes. Production; subscription API key required."},{"name":"anchor_context_trace","title":"TraceMyContext — Anchor Trace","description":"Create or inspect an immutable provenance anchor from a context digest, parent digests, and processing stage. No context content is stored. Production; subscription API key required."},{"name":"manage_task_contract","title":"ContractMyTask — Manage Task Contract","description":"Offer, accept, inspect, complete, or cancel a digest-bound technical task commitment. This records service state; it is not a legal contract, escrow, payment, or identity verification. Production."},{"name":"check_agent_readiness","title":"ReadyMyAgent — Check Integration Readiness","description":"Deterministically check a supplied MCP server card against a narrow, published integration contract. The service does not fetch arbitrary URLs and does not certify security or correctness. Free or paid."},{"name":"manage_action_quorum","title":"QuorumMyAction — Manage Authorization Quorum","description":"Create, inspect, consume, or cancel an N-of-M bearer authorization quorum. Each unique bearer can decide once; only a successful one-time consume grants an execution right. Subscription API key required."},{"name":"manage_task_deadline","title":"DeadlineMyTask — Manage Durable Deadline","description":"Create, inspect, complete, or cancel a task deadline whose due and escalation state is derived from an independent server clock even when the agent is offline. Subscription API key required."},{"name":"manage_attention_budget","title":"BudgetMyAttention — Manage Review Capacity","description":"Create, inspect, reserve, release, or close a finite review-capacity pool with per-subject caps, retry-safe reservations, and protected priority capacity. Subscription API key required."},{"name":"manage_agent_escalation","title":"EscalateMyAgent — Manage Operator Escalation","description":"Create, inspect, or cancel a digest-only incident with a private bearer operator link and deterministic response and resolution SLA state. Link delivery remains the caller’s responsibility. Subscription API key required."},{"name":"manage_terms_pin","title":"PinMyTerms — Manage Terms Pin","description":"Pin, inspect, or revoke an immutable digest-bound record of observed terms, interface, version, and price. Stores bounded metadata and digests, not the terms body. This is technical evidence, not a legal agreement. Subscription API key required."},{"name":"match_policy_requirements","title":"MatchMyPolicy — Match Policy Requirements","description":"Deterministically compare bounded provider capabilities with consumer-required and forbidden policy tokens. Processes supplied tokens without storing policy content and does not make legal or compliance conclusions. Subscription API key required."},{"name":"manage_action_compensation","title":"CompensateMyAction — Manage Compensating Action","description":"Bind a compensating-action digest before execution, record that the primary action executed, and atomically mark compensation once. Stores digests only and does not perform either action. Subscription API key required."},{"name":"manage_context_status","title":"RevokeMyContext — Manage Context Status","description":"Publish, inspect, supersede, dispute, or revoke digest-only context status so downstream agents can stop using stale inputs. Stores no context body and does not invalidate copies outside this service. Subscription API key required."},{"name":"manage_context_rights","title":"LicenseMyContext — Manage Context Rights","description":"Issue, inspect, evaluate, or revoke a digest-bound machine-readable context-rights envelope. It is a technical policy signal, not legal advice or proof of ownership. Subscription API key required."},{"name":"manage_disclosure_budget","title":"MeterMyDisclosure — Manage Disclosure Budget","description":"Create, inspect, record against, or close a cumulative disclosure budget with total, per-recipient, and per-category limits. Stores hashes and counters, not disclosed content or recipient identities. Subscription API key required."},{"name":"list_quality_cards","title":"TrustMyChoice — List Public Quality Cards","description":"List exact service-version/task quality cards that have reached the public three-verified-contributor evidence threshold. Results are ordered by recent evidence, not quality, payment, or sponsorship. Free."},{"name":"get_quality_card","title":"TrustMyChoice — Get Quality Card","description":"Retrieve a public, contextual quality card for an exact MCP server or REST API version. Scores remain unavailable until at least three independent verified contributors submit structured observations. Free."},{"name":"compare_quality_targets","title":"TrustMyChoice — Compare Quality Targets","description":"Return contextual quality cards for two to ten exact targets in caller-provided order. It exposes evidence and uncertainty without producing a paid ranking or universal winner. Free."},{"name":"record_quality_observation","title":"TrustMyChoice — Record Quality Observation","description":"Submit an opt-in structured observation for an exact target and task. Receipt-linked observations are labeled E1; other observations are E0. Stores no prompt, response, credential, email, or free-form review. Free verified contributor or subscription key required."},{"name":"request_quality_correction","title":"TrustMyChoice — Request Quality Correction","description":"Attach a digest-only correction or appeal request to a quality card. Requests are visible as unverified pending state and do not erase evidence or prove provider identity. Free verified contributor or subscription key required."}]}