GAIP Integration Repair Agent

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

Now part of GAIP Diagnose: diagnoses failed agent or API calls (gaip_diagnose).

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

gaip_diagnose_integration_failure Why did my agent call fail?

Use this when an agent, MCP or API call failed ("why did my call fail?", "what does this 429 mean?"). Pass the `failure` ({code, detail}) or the raw error text. Returns the likely cause, when and how to retry, fix steps and a receipt. GAIP touches no other system. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.

ParameterTypeDescription
failure *objectThe failure: {code, detail?, http_status?}, e.g. {"code": 429, "detail": "Too Many Requests; Retry-After: 20"}.
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_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).