Agent tools and MCP glossary
Plain-language definitions of the protocols, tool pricing terms, and billing mechanics used across KeepBal. Each entry is written as a standalone reference.
Model Context Protocol (MCP)
An open JSON-RPC 2.0 protocol that connects AI coding agents and chat clients to external tool servers. KeepBal hosts a Streamable HTTP MCP endpoint at https://keepbal.com/mcp.
Streamable HTTP transport
Stateless HTTP POST transport in MCP (protocol versions 2025-06-18 and 2025-03-26) that returns JSON responses directly, without persistent Server-Sent Events sessions or local subprocesses.
Meta-tool discovery
KeepBal exposes four MCP meta-tools (search_tools, inspect_tool, run_tool, and get_run) instead of loading over a thousand tool schemas into the model context window upfront.
Public tool ID
The stable <source>/<operation> identifier, such as exa/contents or tavily/search, carried unchanged through discovery, inspection, REST execution, and MCP tool calls.
Fixed per-call pricing
A published catalog USD rate charged only when a tool call succeeds. Failed, blocked, or timed-out provider calls charge $0.
Variable tool pricing
Usage-dependent tool pricing where the customer charge equals reported upstream provider cost plus 35%. Calling inspect returns pricing metadata rather than an input-specific quote.
Per-call spend cap (max_cost_usd)
An optional maximum customer USD charge supplied via max_cost_usd or X-KeepBal-Max-Cost-USD on variable catalog calls. Runs whose provider cost exceeds the cap fail closed at $0.
Asynchronous tool run
A long-running tool execution that returns pending with a run_id. Poll GET /apis/v1/runs/{id} or MCP get_run to settle and retrieve the result once without a polling fee.
Prepaid API wallet
A single USD balance shared across live data tools and language models under one KeepBal account, funded by one-time Paddle top-ups ($10 to $1,000) with no monthly subscription.
Balance hold and settlement
A temporary credit reservation placed while a catalog call executes, replaced by the settled customer charge once the response or run completes.
Merchant of Record
The payment entity (Paddle) that processes card checkout, calculates applicable taxes, and issues receipts without exposing full card details to KeepBal.
OpenAI-compatible endpoint
Gateway routes (/v1/chat/completions, /v1/responses, and /v1/embeddings) that accept standard OpenAI SDK clients by setting base_url to https://keepbal.com/v1 and passing a KeepBal key.
Anthropic Messages endpoint
The native POST /v1/messages route for live catalog models that use the Anthropic Messages wire format with messages and max_tokens.
Markdown twins and llms.txt
Clean Markdown counterparts (.md URLs or Accept: text/markdown) paired with /llms.txt and /SKILL.md so AI agents can read documentation and catalog prices without HTML parsing.