Expand description
Receipt recording and honest accounting for MCP tool calls.
Structs§
- McpReceipt
- Receipt for a single MCP tool call.
- Tool
Savings - Per-tool savings summary.
Functions§
- mcp_
accounting - Returns honest accounting aggregated across all MCP receipts.
- per_
tool_ savings - Returns per-tool savings sorted by tool name.
- record_
receipt - Stores an MCP receipt and updates its per-tool aggregate.
- reset_
receipts - Clears all recorded MCP receipts and aggregates.
- savings_
report - Formats a deterministic per-tool savings summary.
- total_
kernel_ overhead - Returns the total token overhead added by the kernel.