GAIP Supplier Watch Agent

v1.5.0
io.github.tjcgraham-rgb/gaip-supplier-watch Checked 3 days ago Published 1 month ago

Now part of GAIP Check and GAIP Watch: compares supplier snapshots and watches for change.

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

gaip_compare_supplier_snapshots What changed between two versions

Use this when asked what changed between two versions of an agent card, MCP server description or OpenAPI document ("did this API break?"). Pass `prior` and `current`. Returns each change as BREAKING / NON_BREAKING / INFO with migration notes and a receipt. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.

ParameterTypeDescription
current *objectThe later version, same kind as `prior`.
prior *objectThe earlier version: agent card, MCP server description, OpenAPI document or snapshot.
continuity_handleobjectOptional: the continuity_handle from an earlier GAIP result; links this call to your earlier ones.
counterparty_idstringName or URL of the agent/service. Optional.
data_classificationstringPUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data.
episode_idstringOptional: your own id to group related calls.
independent_operator_idstringOptional: your operator id (recorded as a claim, not verified).
protocolstringCounterparty protocol. Inferred from metadata when omitted, otherwise MCP.
syntheticbooleanOptional: true marks a test call.
task_classstringOptional: short name of the task, e.g. weather_forecast.

gaip_watch_register Watch an agent or MCP server for changes

Use this when asked to keep an eye on an agent or MCP server ("tell me if it changes or goes down"). Pass the `continuity_handle` from any GAIP result, `kind` and `target_url`. GAIP re-checks every 24 hours (3 free watches), receipts each change and can call your webhook. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.

ParameterTypeDescription
continuity_handle *objectThe continuity_handle from an earlier GAIP result; proves you own these watches.
kind *stringAGENT_READINESS (agent URL), SUPPLIER_CARD (published card), DELIVERY_TERMS (terms_id) or DELIVERY_SLA (terms_id plus sla terms).
data_classificationstringPUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data.
interval_hoursintegerHours between checks: 24 minimum on the free tier; 1 for DELIVERY_SLA.
slaobjectDELIVERY_SLA only: service-level terms checked on every observation, any of min_uptime_pct, max_latency_ms, required_fields (JSON key paths), freshness_field + max_age_seconds; optional uptime_window_…
target_urlstringPublic https URL (AGENT_READINESS, SUPPLIER_CARD). No query string.
terms_idstringDELIVERY_TERMS or DELIVERY_SLA: terms_id from witness_register_terms.
webhook_urlstringOptional: your own public https endpoint for signed change events.

gaip_watch_list List my watches

Use this when asked which agents or services you are watching. Pass your `continuity_handle`. Returns each watch's kind, target, last verdict, last and next check and webhook endpoint (never the secret). Free, read-only, no account; inputs must be public and non-personal.

ParameterTypeDescription
continuity_handle *objectThe continuity_handle from an earlier GAIP result; proves you own these watches.

gaip_watch_remove Remove a watch

Use this when asked to stop watching an agent or service. Pass your `continuity_handle` and the `watch_id`. Its stored events are deleted; retained receipts stay verifiable. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.

ParameterTypeDescription
continuity_handle *objectThe continuity_handle from an earlier GAIP result; proves you own these watches.
watch_id *stringThe watch_id returned by gaip_watch_register.

gaip_watch_events Read watch change events

Use this when asked what changed on a watched agent or service. Pass your `continuity_handle` and optionally a `watch_id`. Returns recent change events: verdict before and after, a change summary, the receipt and webhook delivery status. Free, read-only, no account; inputs must be public and non-personal.

ParameterTypeDescription
continuity_handle *objectThe continuity_handle from an earlier GAIP result; proves you own these watches.
limitintegerOptional: maximum events to return.
watch_idstringThe watch_id returned by gaip_watch_register.

gaip_supplier_reliability Why is my supplier failing?

Use this when a supplier agent or API you depend on started failing ("did something change on their side?"). Pass its `supplier_url` and the `failure`. Returns the diagnosis plus changes GAIP observed around then (correlated in time, not causation), with receipts. Free, read-only, no account; inputs must be public and non-personal.

ParameterTypeDescription
failure *objectRequired (or `failures`): the failure you got, {code, detail?, http_status?} as for gaip_diagnose_integration_failure, e.g. {"code": 404, "detail": "Not Found"}.
supplier_url *stringPublic https URL of the supplier's agent card, MCP server or API.
cardobjectOptional supplier card / server description you integrated against.
counterparty_idstringOptional: name of the supplier.
data_classificationstringPUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data.
failure_started_atstringOptional: RFC 3339 time the failures started.
failuresarrayFor a batch: up to 100 failures, each {code, detail?, http_status?}. When `failures` is sent, the batch runs and `failure` is ignored.
lookback_daysintegerOptional: days of GAIP observations to look back over.
protocolstringOmit to infer it from card, transport or the supplier URL path (else UNKNOWN).
task_classstringOptional: short name of the task, e.g. weather_forecast.
transportstringOptional transport you used (e.g. streamable-http, sse, GRPC).