RFC 7807 and RFC 9457 problem+json responses carry extension members, and a client that only reads title and status misses the fields that actually explain the failure. $0.002 per call, USDC via x402 or MPP. Validates a problem detail body, lists standard members and extensions, and flags content-type or status mismatches. An empty call checks a built-in problem+json example.
No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.
| Route | Price | What you get |
|---|---|---|
POST /v1/problem-detail | $0.002 | Problem Detail Extension Checker RFC 7807 and RFC 9457 problem+json responses carry extension members, and a client that only reads title and status misses the fields that actually explain the failure. $0.002 per call, USDC via x402 or MPP. Validates a problem detail body, lists standard members and extensions, and flags content-type or status mismatches. An empty call checks a built-in problem+json example. |
These call POST /v1/problem-detail ($0.002) — Problem Detail Extension Checker. Swap the path for any other route in the table.
npx mppx https://problem-detail-extension-checker.fmf-x402.workers.dev/v1/problem-detail -X POST -H 'content-type: application/json' -d '{"body":{"type":"https://example.com/probs/out-of-credit","title":"You do not have enough credit.","status":403,"detail":"Your current balance is 30, but that costs 50.","instance":"/account/12345/msgs/abc","balance":30,"accounts":["/account/12345","/account/67890"]},"content_type":"application/problem+json","status":403}'
The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.
curl -i -X POST https://problem-detail-extension-checker.fmf-x402.workers.dev/v1/problem-detail -H 'content-type: application/json' -d '{"body":{"type":"https://example.com/probs/out-of-credit","title":"You do not have enough credit.","status":403,"detail":"Your current balance is 30, but that costs 50.","instance":"/account/12345/msgs/abc","balance":30,"accounts":["/account/12345","/account/67890"]},"content_type":"application/problem+json","status":403}'
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://problem-detail-extension-checker.fmf-x402.workers.dev/v1/problem-detail', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"body":{"type":"https://example.com/probs/out-of-credit","title":"You do not have enough credit.","status":403,"detail":"Your current balance is 30, but that costs 50.","instance":"/account/12345/msgs/abc","balance":30,"accounts":["/account/12345","/account/67890"]},"content_type":"application/problem+json","status":403}),
})
console.log(await res.json())
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://problem-detail-extension-checker.fmf-x402.workers.dev/v1/problem-detail", method="POST", json={"body":{"type":"https://example.com/probs/out-of-credit","title":"You do not have enough credit.","status":403,"detail":"Your current balance is 30, but that costs 50.","instance":"/account/12345/msgs/abc","balance":30,"accounts":["/account/12345","/account/67890"]},"content_type":"application/problem+json","status":403})
print(await response.json())
asyncio.run(main())
{
"mcpServers": {
"fmf-mpp-problem-detail-extension-checker": {
"url": "https://problem-detail-extension-checker.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://problem-detail-extension-checker.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.