Skip to main content
Glama

Server Details

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

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct concern: integration verification, budget creation, documentation retrieval, spend queries, and read-only listings. The three instruction tools are clearly separated by purpose (quickstart/SDK docs vs onboarding vs decision-making), and the read-only listing tools each focus on a different resource (budgets, scopes, policies, providers). No two tools have overlapping responsibilities.

Naming Consistency4/5

All tools share the 'spendline_' prefix and follow a verb_noun structure (check_integration_status, create_budget, list_providers, etc.). The sole exception is 'when_to_use', which uses an adverb instead of a verb, breaking the otherwise uniform pattern. This minor deviation is understandable given the tool's decision-guidance role, but it does stand out.

Tool Count5/5

10 tools is within the ideal range for a focused integration assistant. Each tool addresses a specific need—onboarding, instruction retrieval, spend reporting, budget management, and diagnostics—without redundancy or bloat. The set feels complete for its stated purpose of helping agents integrate and monitor Spendline.

Completeness4/5

The tool surface covers the core lifecycle: onboarding, integration setup, budget creation, spend queries, and policy/provider visibility. The deliberate omission of budget mutation (raising/deleting) is documented as a safety feature, and the read-only policy/provider listings suffice for monitoring. Minor gaps exist—no tool to test a configuration change without creating a budget, and no direct way to manage policies—but these are acceptable given the server's advisory role.

Available Tools

10 tools
spendline_check_integration_statusCheck whether traffic is arriving and correctly attributedA
Read-onlyIdempotent
Inspect

Verify 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.

Inputs: hours.

spendline_create_budgetCreate a NEW budget (owner/admin authority + explicit confirm)AInspect

Create 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.

Inputs: confirm (required), scope_type (required), monthly_limit_usd (required), scope_id, +1 more.

spendline_get_integration_instructionsFetch deterministic integration instructionsA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: document (required).

spendline_get_onboarding_instructionsExplain how to get an account and a keyA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: no named parameters.

spendline_get_spendRead current spend, optionally broken downA
Read-onlyIdempotent
Inspect

Return spend for the current UTC month and a look-back window, optionally grouped by customer, agent, model, provider or workflow. Read-only.

Inputs: days, limit, group_by.

spendline_list_budgetsList budgets with current spend against each limitA
Read-onlyIdempotent
Inspect

Return every hierarchical budget for the account with month-to-date spend, percentage used, and whether it is in blocking (strict) mode. Read-only.

Inputs: no named parameters.

spendline_list_budget_scopesDiscover which agents, customers and teams have trafficA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: no named parameters.

spendline_list_policiesList policiesA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: no named parameters.

spendline_list_providersList supported providers, request shapes and base-URL rulesA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: no named parameters.

spendline_when_to_useDecide whether Spendline fits a requirementA
Read-onlyIdempotent
Inspect

Return 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.

Inputs: requirement.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources