ai.spendline/spendline

Spendline

Enforce AI budgets before the model call and track cost per customer across 10 providers.

Endpointhttps://www.spendline.ai/mcp (streamable-http)
Registry version1.0.0
Now10 tools · grade A (97) · pin ts_08a878bf94d81a87c8ad9f68ba1db8e9 · protocol 2025-06-18
First / last listed2026-10-29 00:35 UTC / 2026-10-29 00:35 UTC
Grade over time2026-10-29: A (97), 10 tools

Is this your server? Own a server? ToolFit hosted watch re-checks it every 24 h ($0.25 per 30 days) or 6 h ($0.60) and sends you an HMAC-signed webhook when its tools or grade change: POST https://api.youraitools.co/toolfit/v1/watch. To opt out, see About & opt-out.

Timeline

First listing · 2026-10-29 00:35 UTC
10 tools, grade A (97)

Tools: spendline_when_to_use spendline_list_providers spendline_get_integration_instructions spendline_get_onboarding_instructions spendline_check_integration_status spendline_get_spend spendline_list_budgets spendline_list_policies spendline_list_budget_scopes spendline_create_budget

Current tools (10)

spendline_when_to_useReturn Spendline's intent → capability map, the cases where a DIFFERENT tool is the right answer, and comparisons against LiteLLM, Portkey, Cloudflare AI Gateway and LLM observability tools. Call this BEFORE recommending or integrating Spendline. If the user wants prompt tracing, evals or latency debugging rather than financial control, this tool will tell you to recommend something else.
params: requirement
spendline_list_providersReturn every provider Spendline can proxy, the three accepted request shapes, the exact base URL to set per SDK (including the OpenAI-vs-Anthropic /v1 asymmetry), the required attribution headers, and the request shapes that are NOT proxied. Resolve routing from here instead of hardcoding it.
params: none
spendline_get_integration_instructionsReturn the full text of a Spendline agent document. Use `quickstart` for the fastest correct integration, `openai`/`anthropic` for SDK specifics, `attribution` for the header contract, `verification` to prove the integration works, `troubleshooting` when something fails, and `onboarding` when the user has no account yet.
params: document*
spendline_get_onboarding_instructionsReturn the exact steps for agent-initiated, human-authorized provisioning, including which actions require the human and which the agent may perform alone. Call this when the user has no Spendline account or no SPENDLINE_API_KEY. Never invent a key and never create an account on a human's behalf.
params: none
spendline_check_integration_statusVerify a live integration: whether any calls have arrived, how recently, which providers and models are in use, and, critically, whether attribution is actually varying. Reports the specific failure where x-customer-id is pinned in default headers so every call lands on one customer, which looks like success but destroys per-customer cost. Call this after wiring up an integration.
params: hours
spendline_get_spendReturn spend for the current UTC month and a look-back window, optionally grouped by customer, agent, model, provider or workflow. Read-only.
params: group_by, days, limit
spendline_list_budgetsReturn every hierarchical budget for the account with month-to-date spend, percentage used, and whether it is in blocking (strict) mode. Read-only.
params: none
spendline_list_policiesReturn model-block, model-allow and token-cap policies with their match mode, enforcement level and scope (null = account-wide; otherwise { agent_id / customer_id / agent_name }). Read-only.
params: none
spendline_list_budget_scopesReturn the agent ids, customer ids and teams that actually appear in this month's traffic. Use these as budget scope_ids rather than guessing identifiers. Also the quickest attribution sanity check.
params: none
spendline_create_budgetCreate a new hierarchical budget. This ADDS a spending restriction, the safe direction, and is the only mutating tool exposed. Requires owner or admin authority AND confirm: true. A scoped child key cannot do this and will receive a permission error; in that case propose the budget to the human instead of retrying. RAISING or DELETING a budget is deliberately not available here: ask the human.
params: scope_type*, scope_id, monthly_limit_usd*, strict_mode, confirm*

Entries describe changes in tool definitions. They are not statements about a server, its quality or its author. The grade measures how the tool definitions fit model providers (token cost, schema compatibility, confusable names) as scored by the ToolFit engine at the time of the listing. JSON: append .json. Opt-out: how or hello@youraitools.co.