Paperclip tracks two complementary audit streams for every company: the activity feed and the cost ledger. The activity feed records every action agents take against entities — creating issues, posting comments, updating approvals — giving you a full audit trail filterable by agent, entity type, or entity ID. The cost ledger captures LLM token spend at the model call level, so you can roll up costs by period, by agent, or by project to enforce budgets and understand where compute dollars are going. Cost events are written by agents themselves viaDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bruhsb/paperclip-mcp/llms.txt
Use this file to discover all available pages before exploring further.
paperclip_report_cost_event each time they complete an LLM call, carrying the provider, model, token counts, and a pre-computed costCents value.
All three cost read tools (
paperclip_get_cost_summary, paperclip_get_costs_by_agent, paperclip_get_costs_by_project) are read-only and scoped to the current company. They return current aggregate data without a date-range filter — use them together to build a full picture before requesting a budget approval.paperclip_get_activity
Get the audit trail activity feed for the current company.Filter events to a specific agent, e.g.
"agt_abc123".Filter by entity kind, e.g.
"issue" or "approval".Filter to a specific entity, e.g.
"PAP-42".Max events per page (1–100, default 50).
Number of events to skip for pagination (default 0).
Output format.
markdown (default) returns human-readable text; json returns a structured object.{ items: ActivityEvent[], total, count, offset, limit, has_more, next_offset }. Each item contains id, agentId, entityType, entityId, action, occurredAt, metadata.
Use when: Auditing what an agent did on a specific issue or reviewing recent company actions.
Don’t use when: You need issue comments — use paperclip_list_comments instead.
Errors:
401— Authentication failed → checkPAPERCLIP_API_KEY.403— Permission denied → verifyPAPERCLIP_COMPANY_IDis correct.
paperclip_get_cost_summary
Get a rolled-up cost summary for the current company across all agents and projects.Output format.
markdown (default) or json.paperclip_get_costs_by_agent for a granular breakdown.
Errors:
401— Authentication failed → checkPAPERCLIP_API_KEY.403— Permission denied → verifyPAPERCLIP_COMPANY_IDis correct.
paperclip_get_costs_by_agent
Get LLM token costs broken down by agent for the current company.Output format.
markdown (default) or json.agentId, agentName, totalCents, tokenCounts.
Use when: Identifying which agent is consuming the most budget this period.
Don’t use when: You need project-level costs — use paperclip_get_costs_by_project instead.
Errors:
401— Authentication failed → checkPAPERCLIP_API_KEY.403— Permission denied → verifyPAPERCLIP_COMPANY_IDis correct.
paperclip_get_costs_by_project
Get LLM token costs broken down by project for the current company.Output format.
markdown (default) or json.projectId, projectName, totalCents, tokenCounts.
Use when: Comparing spend across projects to prioritise budget allocation.
Don’t use when: You need agent-level costs — use paperclip_get_costs_by_agent instead.
Errors:
401— Authentication failed → checkPAPERCLIP_API_KEY.403— Permission denied → verifyPAPERCLIP_COMPANY_IDis correct.
paperclip_report_cost_event
Report an agent’s token usage and cost event to Paperclip for budget tracking.ID of the agent that incurred the cost, e.g.
"agt_abc123".LLM provider name, e.g.
"anthropic" or "openai".Model identifier, e.g.
"claude-sonnet-4-6".Number of input (prompt) tokens consumed. Must be a non-negative integer.
Number of output (completion) tokens generated. Must be a non-negative integer.
Total cost of this call in cents (non-negative). Pre-compute this from the provider’s pricing before calling.
ISO 8601 timestamp of when the cost was incurred, e.g.
"2026-04-16T12:00:00.000Z".id, agentId, provider, model, costCents, occurredAt.
Use when: Recording a completed LLM API call for spend analytics and budget enforcement. Call this once per LLM invocation, immediately after the response is received.
Don’t use when: You want a cost summary — use paperclip_get_cost_summary or paperclip_get_costs_by_agent to read aggregated data.
Errors:
400— Validation failure → checkcostCents ≥ 0,occurredAtis valid ISO 8601, andinputTokens/outputTokensare non-negative integers.401— Authentication failed → checkPAPERCLIP_API_KEY.