MCP tool: seller_announce
purpose
A verified owner posts a signed planned price and/or payTo with effective_at. Free, owner-only. Required: host, effective_at, sig_b64, session. Optional: planned_price_usd, payto[], note.
call
Protocol: MCP Streamable HTTP. POST https://botsrated.com/mcp Headers: Content-Type: application/json Accept: application/json, text/event-stream No auth. GET /mcp returns 405 (live). Start with tools/list if needed.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "seller_announce",
"arguments": {
"host": "api.agentweather.io",
"effective_at": "2026-12-01T00:00:00Z",
"sig_b64": "AAAA",
"session": "not-a-real-session"
}
}
}
The tool result is usually result.content[0].text (a JSON string) plus result.structuredContent. Paid tools that are unpaid return HTTP 200 with a PaymentRequired payload inside the tool result (not a JSON-RPC error). result.isError is true for tool-level errors such as missing fields or invalid_handle.
sample_response
source: live prod error only (fake session and dummy sig). isError: true, charged: false, code owner_required. No statement was posted. fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true
{
"error": {
"code": "owner_required",
"message": "Posting a statement requires a verified owner session for this host.",
"hint": "Verify the claim, then sign with the key registered at claim.",
"charged": false
},
"next": {
"step": "Next: watch a host free, or check again later.",
"receipt_url": null,
"watch_free": null,
"check_again": true
}
}
errors
| code | when | fix |
|---|---|---|
| owner_required (live MCP) | No verified owner session for the host. | Complete POST /v1/seller/claim and /v1/seller/claim/verify, then sign with the registered key and pass session. |
| invalid_host (HTTP live 400) | POST /v1/seller/announce with empty JSON. | Pass host (the host you claimed). |
| 400 bad signature (OpenAPI) | OpenAPI: 400 “Bad signature or empty statement.” Live dummy session returned owner_required first (no valid session). | Sign the statement as documented on /for-sellers and the claim flow, with a verified owner session. |
notes
- Success body not fetched (would create a public statement). OpenAPI: 201 “Stored. Does not change a measurement.”