Skip to main content
Glama

Spendline

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 with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

TDQS

A4.2/5.0
Disambiguation5/5

Each tool serves a clearly distinct purpose: status checking, budget creation, spend retrieval, listing different entities, instructional lookups, and guidance on when to use the product. No two tools overlap in a way that would confuse an agent.

Naming Consistency4/5

Tool names consistently use the spendline_ prefix and mostly follow a verb_noun pattern (check_, create_, get_, list_). The when_to_use tool deviates slightly from the verb_noun convention but remains clear and predictable.

Tool Count5/5

Ten tools is well within the ideal range for a focused API gateway/cost management server. Each tool addresses a distinct operational need without redundancy, and the count feels neither sparse nor bloated.

Completeness4/5

The tool set covers core spend visibility, budget creation, policy listing, provider discovery, integration verification, and onboarding guidance. It intentionally omits budget updates/deletions, but those omissions are documented and appear deliberate, leaving only minor gaps such as no explicit update or delete operations.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
hoursNoLook-back window in hours. Default 24.

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnly, idempotent, non-destructive), the description reveals a critical behavioral detail: it reports the specific failure where x-customer-id is pinned in default headers, which looks like success but destroys per-customer cost. This adds significant context about what the tool detects and why it matters, going well beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with zero waste. The first sentence front-loads the core purpose and checks, while the second adds a critical nuance. It is concise and well-structured, every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only status check with a single optional parameter and no output schema, the description covers the main operational aspects: what it verifies, what it reports, and when to use it. It does not describe the exact return format, but for a check tool this is acceptable and not critical for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema fully documents the single 'hours' parameter (default 24, range 1-720). The description does not add any additional meaning about the parameter, but since schema coverage is 100%, the baseline of 3 applies. The description does not need to compensate for undocumented parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Verify a live integration' and enumerates exactly what it checks (calls arrived, recency, providers/models, attribution varying). It distinguishes itself from siblings by focusing on integration health rather than budgets, spend, or policies, making it unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit timing guidance: 'Call this after wiring up an integration.' It doesn't explicitly contrast with alternatives, but the unique purpose and the instruction to call after setup make the appropriate context clear. Lacks a 'when not to use' but this is minor given the tool's specificity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be true. Present so a budget is never created as an incidental side effect, confirm with the human first, then set this.
scope_idNoRequired unless scope_type is "org".
scope_typeYesorg = whole account. team = tag cost-centre. agent = x-agent-id. customer = x-customer-id.
strict_modeNotrue blocks over-cap calls with HTTP 402. false records only.
monthly_limit_usdYes

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the minimal annotations, the description discloses key behaviors: it requires specific authority and confirmation, will return a permission error for scoped child keys, and does not support raising or deleting. This gives the agent a clear model of how the tool behaves under different conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured, with each sentence contributing distinct information: action, behavior, authorization, edge case, and exclusions. It is slightly repetitive with 'ADD' and 'safe direction', but overall it avoids unnecessary detail and reads efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the core context: what the tool does, required authorization and confirmation, permission failure handling, and explicit exclusions. It does not mention the success response or return value, but since no output schema exists, this is not a major gap; the provided context is sufficient for an agent to decide when and how to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes 4 of 5 parameters in detail (80% coverage), including enum meanings for scope_type and the behavior of strict_mode. The narrative adds no significant new parameter semantics beyond reinforcing that confirm must be true, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description immediately states 'Create a new hierarchical budget' and clarifies its role as the only mutating tool exposed, which distinguishes it from the read-only sibling tools. It also explicitly notes that raising or deleting budgets is not available, removing ambiguity about its purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use instructions: create a budget to ADD a spending restriction, and requires owner/admin authority plus confirm:true. It also states when not to use it (for raising/deleting budgets) and provides a fallback for permission errors ('propose the budget to the human instead of retrying'), which is clear operational guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentYesWhich document to return.

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description states the tool returns text, which aligns with the readOnly and idempotent annotations. It adds no extra behavioral detail beyond the annotations, such as response format or error behavior, but the annotations already cover safety expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence that front-loads the primary action and then provides compact, useful mapping for document selection. There is no redundant or extraneous content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple document-fetch tool with no output schema, the description is sufficiently complete: it names the resource, the action, and the valid document choices. It does not detail return formatting or error cases, but it covers the essential context for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already defines the single parameter `document` with an enum, and the description adds meaning by mapping many enum values to specific scenarios like `verification` for proving integration works. Not every enum value is individually explained, but the pattern is clear and the parameter is well covered.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns the full text of a Spendline agent document and enumerates the available document types with their intended use cases. This makes the tool's purpose immediately distinguishable from sibling tools like spendline_check_integration_status or spendline_get_spend.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit selection criteria for many document values, such as using `quickstart` for fastest integration and `troubleshooting` when something fails. It does not explicitly contrast with sibling tools like spendline_get_onboarding_instructions, but the value-specific guidance is strong enough to guide an agent in most cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description explains the tool only returns instructions and does not actually provision anything, reinforcing the readOnly and idempotent annotations. It also clarifies what it does not do, which goes beyond the annotation hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (two sentences), immediately states the primary purpose, and includes both the trigger and a warning. No redundant or vague language dilutes the message.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the tool (no parameters, no output schema), the description covers all necessary context: what it returns, when to invoke it, and what it does not do. It is fully sufficient for an agent to decide and use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters, so there is nothing to cover. The description focuses entirely on behavior and usage, and no implicit parameters or inputs are suggested, making the parameter semantics fully adequate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns exact provisioning steps and specifies the exact trigger condition (no account or no API key). It also distinguishes itself from siblings by focusing on onboarding rather than status checks, budgeting, or listing operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to call ('when the user has no Spendline account or no SPENDLINE_API_KEY') and provides a clear prohibition ('Never invent a key and never create an account on a human's behalf'), leaving no ambiguity about usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNo
limitNo
group_byNonone

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description notes the tool is read-only, which aligns with the readOnlyHint annotation and adds temporal context about UTC month and look-back window. However, it does not disclose potential side effects, rate limits, or pagination behavior. Since read-only is already annotated, the description adds moderate transparency but not extensive new behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that avoids redundancy. It states the key purpose and options without extraneous detail, making it easy to parse and understand.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given there is no output schema, the description does not need to specify return format. It provides enough context about what data is returned (spend) and the optional grouping. It lacks details on the response structure, but that is acceptable here. Overall, it is reasonably complete for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description only vaguely hints at parameter meanings: 'look-back window' suggests days, and 'grouped by' explains group_by. The limit parameter is entirely unexplained, and days and group_by lack explicit definitions. With 0% schema description coverage and no parameter descriptions, the tool description should compensate more fully, but it only partially does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns spend data for the current UTC month with an optional look-back window, and lists grouping dimensions. This is a specific verb-resource combination that distinguishes it from siblings like list_budgets or list_policies, which focus on other entities.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for spend queries but does not explicitly contrast with alternatives. An agent might infer when to use this versus list_budgets, but no direct guidance is provided. It would benefit from stating 'use this when you need spend details rather than budget or policy information.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare read-only, idempotent, and non-destructive. The description repeats 'Read-only' but adds no new behavioral context (e.g., auth requirements, rate limits, or side effects). Given annotation coverage, the description is adequate but not enhanced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, concise sentence conveys the purpose and key output details. No fluff or redundant phrasing beyond the acceptable 'Read-only' note.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the operation (no parameters, no complex output schema), the description is complete for an agent to understand what the tool returns. It does not mention output format or pagination, but for a budget list this is likely unnecessary.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters in the schema, so there is nothing to explain. The description correctly implies a global list operation without requiring input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the operation ('Return'), the resource ('budgets'), and key attributes (hierarchical, month-to-date spend, percentage used, blocking mode). It is easily distinguished from sibling tools like list_budget_scopes or list_policies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives (e.g., when you need budget list vs. scopes or policies). The description implies it is for viewing budgets, but it does not state conditions or exclusions, leaving some ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds behavioral context beyond the read-only and idempotent annotations by specifying the data is from 'this month's traffic', indicating time-dependence. No contradictions with annotations exist, and no side effects are implied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences with no redundant wording. It efficiently conveys the return type, the purpose, and a secondary use case, all while remaining focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description sufficiently explains what is returned (agent ids, customer ids, teams) and why it is useful, including the time frame. While no output schema is provided, the description gives enough context for an agent to understand the tool's role without ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so schema coverage is complete. The description does not need to explain inputs, and the baseline for high coverage applies. The mention of 'this month's traffic' describes output context rather than parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns agent ids, customer ids, and teams from current traffic, with the specific purpose of using them as budget scope_ids. It also distinguishes itself from sibling tools by emphasizing this is an attribution sanity check, making the tool's role unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance is given: 'Use these as budget scope_ids rather than guessing identifiers' directly tells the agent when to use this tool. The phrase 'quickest attribution sanity check' further clarifies the appropriate scenario for invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

spendline_list_policiesList policiesA
Read-onlyIdempotent
Inspect

Return model-block and token-cap policies with their match mode and enforcement level. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, idempotent, and non-destructive behavior, and the description reinforces this with 'Read-only' while adding useful context about the returned policy attributes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence with no redundant or extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple parameterless read-only list tool, the description sufficiently communicates the resource and the key fields returned without needing an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters, so the empty schema is fully covered. The description adds no parameter-specific meaning, but none is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns model-block and token-cap policies with their match mode and enforcement level, distinguishing it from sibling tools like list_budgets and list_providers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is used when policy information is needed, but it does not explicitly state when to prefer this tool over alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds valuable context about the exact content returned (base URLs, attribution headers, non-proxied shapes), going beyond what annotations imply. It does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, information-dense sentence that front-loads the core purpose ('Return every provider...') and then lists specific details. Every clause adds value, though it is slightly longer than the minimal necessary, so it earns a 4 rather than a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with no parameters and no output schema, the description is fully sufficient. It enumerates all return categories and the routing directive, leaving no gaps an agent would need to fill.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema is trivially fully covered. The description adds no parameter details because none exist; the baseline of 4 for a zero-parameter tool is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool returns every provider Spendline can proxy, the three request shapes, base URLs, attribution headers, and non-proxied shapes. It uses a specific verb 'Return' and names the resource, clearly distinguishing it from sibling tools that check status or create budgets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The directive 'Resolve routing from here instead of hardcoding it' explicitly tells agents when to use this tool as the authoritative source for provider and routing details. It leaves no ambiguity about when to invoke it, even without naming alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
requirementNoThe user's requirement in their own words. Optional; used to surface the closest matches first.

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and idempotentHint=true, so the description isn't burdened with safety disclosure. It adds useful behavioral context by stating the tool will 'tell you to recommend something else' when Spendline isn't the fit, and that it returns comparisons against named competitors. This goes beyond the annotations and is transparent about its advisory role.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both essential. The first sentence lists the return payload and the second gives explicit invocation timing plus a concrete example of when to steer elsewhere. Nothing is redundant or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a decision-support tool with no output schema, the description fully explains what the tool returns (map, alternatives, comparisons) and when to call it. It also covers edge cases (when Spendline is not the right answer). No missing information an agent needs to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the single optional 'requirement' parameter is already documented. The description doesn't elaborate on the parameter's format or semantics, but since the schema covers it fully, the baseline of 3 is appropriate. The description's mention that the requirement is used to 'surface the closest matches first' is a slight addition, but it's implied by the schema description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns an intent→capability map, cases for different tools, and comparisons against specific alternatives. It uses a specific verb ('Return') and names the resource (Spendline's capability map), which distinguishes it from the sibling tools that perform concrete operations like checking status or creating budgets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs 'Call this BEFORE recommending or integrating Spendline' and provides concrete counter-examples ('prompt tracing, evals or latency debugging') where the tool would recommend an alternative. This gives clear when-to-use and when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 10 tool updates
    • First observedspendline_check_integration_status
    • First observedspendline_create_budget
    • First observedspendline_get_integration_instructions
    • First observedspendline_get_onboarding_instructions
    • First observedspendline_get_spend
    • First observedspendline_list_budget_scopes
    • First observedspendline_list_budgets
    • First observedspendline_list_policies
    • First observedspendline_list_providers
    • First observedspendline_when_to_use

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources