{"openapi":"3.1.0","info":{"title":"Truncated Tool Output Checker","version":"1.0.0","description":"Tool and model outputs are often cut mid-JSON or mid-markdown, and a caller that treats a partial body as complete will act on broken data. $0.001 per call, USDC via x402 or MPP. Checks text for truncation signals (unbalanced brackets, cut strings, ellipsis, unclosed fences, length at a declared limit) and returns truncated or complete. An empty call scores a built-in cut-off JSON object. Docs: https://truncated-tool-output-checker.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://truncated-tool-output-checker.fmf-x402.workers.dev/llms.txt and https://truncated-tool-output-checker.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://truncated-tool-output-checker.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-browser.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://mpp-chain.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://mpp-compat.fmf-x402.workers.dev, https://mpp-domain.fmf-x402.workers.dev, https://mpp-utils.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. 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.","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD) or x402 v2 on Base (USDC). Bad input or an upstream failure returns 402 with an error and you are not charged. If you omit a documented input param, the route uses the default listed in this document and in the 402 challenge.","contact":{"name":"FMF Tools","url":"https://truncated-tool-output-checker.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://truncated-tool-output-checker.fmf-x402.workers.dev/docs","x-mcp":"https://truncated-tool-output-checker.fmf-x402.workers.dev/mcp","x-llms":"https://truncated-tool-output-checker.fmf-x402.workers.dev/llms.txt","x-fmf-id":"truncated-tool-output-checker","x-related":{"name":"FMF Recipes","what":"Which paid API to call for any agent task, ranked by receipt-verified agent outcomes","find":"https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find","price_usd":0.003,"empty_call_ok":true,"mcp":"https://agent-recipes.fmf-x402.workers.dev/mcp","llms":"https://agent-recipes.fmf-x402.workers.dev/llms.txt"},"x-also":{"name":"FMF Tools Etsy Movers","what":"Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)","find":"https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today","price_usd":0.01,"empty_call_ok":true,"mcp":"https://etsy-movers.fmf-x402.workers.dev/mcp","llms":"https://etsy-movers.fmf-x402.workers.dev/llms.txt"}},"servers":[{"url":"https://truncated-tool-output-checker.fmf-x402.workers.dev"}],"paths":{"/v1/truncation-check":{"post":{"operationId":"_v1_truncation_check","summary":"Truncated Tool Output Checker","description":"Tool and model outputs are often cut mid-JSON or mid-markdown, and a caller that treats a partial body as complete will act on broken data. $0.001 per call, USDC via x402 or MPP. Checks text for truncation signals (unbalanced brackets, cut strings, ellipsis, unclosed fences, length at a declared limit) and returns truncated or complete. An empty call scores a built-in cut-off JSON object.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Tool or model output to check (default: {\"order_id\":\"1002\",\"items\":[{\"sku\":\"MUG-BLU\",\"qty\":1},\"total\":\"9.18\")","default":"{\"order_id\":\"1002\",\"items\":[{\"sku\":\"MUG-BLU\",\"qty\":1},\"total\":\"9.18\""},"output":{"type":"string","description":"Alias for text"},"declared_length":{"type":"number","description":"Optional expected complete length in characters"},"limit":{"type":"number","description":"Optional max character or token budget the producer was using"}}},"example":{"text":"{\"order_id\":\"1002\",\"items\":[{\"sku\":\"MUG-BLU\",\"qty\":1},\"total\":\"9.18\""}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://truncated-tool-output-checker.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health, /stats."}]}