Skip to main content
Glama

Evaluate agent spend policy

gf.agent_budget

Evaluate per-call, daily, monthly and approval limits before signing payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activeNo
price_usdcYes
provider_idNo
capability_idNo
max_spend_usdcNo
daily_limit_usdcNo
spent_month_usdcNo
spent_today_usdcNo
allowed_providersNo
monthly_limit_usdcNo
per_call_limit_usdcNo
allowed_capabilitiesNo
require_approval_above_usdcNo

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description must fully disclose behavioral traits. It only says 'Evaluate,' which suggests a read-only operation, but it never explicitly states whether it modifies state, requires authentication, or has side effects. It also omits any details about return values or error conditions. The disclosure is minimal and insufficient for a tool that likely governs payment safety.

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

Conciseness3/5

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

The description is a single sentence with no waste, which is efficient. However, it is too terse to convey essential information for a complex tool. While it is concise, the brevity undermines usefulness, making it 'under-specified' rather than 'appropriately sized.'

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

Completeness1/5

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

For a tool with 13 parameters, no output schema, and no annotations, the description is severely incomplete. It fails to explain the return format, the criteria for the evaluation, the interaction between limits, or the significance of the required price_usdc. An agent cannot correctly invoke this tool without guessing at parameter meanings and expected behavior.

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?

Schema description coverage is 0%, so the description must compensate. It names the limit categories (per-call, daily, monthly, approval) which map to four parameters, but the tool has 13 parameters, including price_usdc, provider_id, and allowed lists. The description adds some meaning for limit-related fields but ignores the rest, leaving many parameters entirely unexplained.

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

Purpose3/5

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

The description states the tool evaluates per-call, daily, monthly, and approval limits before payment, which gives a clear enough action and resource (budget limits). However, it does not specify what 'evaluate' entails—whether it returns a boolean, a report, or performs a calculation—nor does it differentiate from sibling tools like gf.quote or gf.payment_status. It is more specific than a tautology but lacks precision.

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

Usage Guidelines2/5

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

The phrase 'before signing payment' provides context on when to use it, implying it should be invoked prior to payment approval. Yet there is no mention of alternatives or conditions when this tool should not be used, despite many related siblings such as gf.quote or gf.execute. The guidance is implicit and incomplete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

C2.9/5.0
Disambiguation3/5

Several tools overlap in purpose, particularly among the GCC analysis services (free_profit_check, gcc_opportunity_score, gcc_product_decision) and the status reporting tools (agent_commerce_status, payment_status, settlement_status, universal_status). While descriptions clarify differences, an agent may struggle to choose between these related services without careful reading.

Naming Consistency4/5

All tools use the 'gf.' prefix and snake_case, providing a consistent base. However, the pattern mixes noun_phrases (agent_budget, payment_status) with verb-based names (execute, quote) and adjective_noun combinations (free_profit_check), making the naming somewhat inconsistent in style though still readable.

Tool Count4/5

At 18 tools, the count is slightly above the typical 15-tool sweet spot but remains reasonable for a comprehensive commerce gateway server that covers discovery, quoting, payment, status, and analytics. The scope justifies the number without feeling bloated.

Completeness4/5

The tool surface covers the main lifecycle: discovering capabilities, obtaining quotes, executing transactions, checking payment and settlement status, monitoring provider health, and reviewing metrics. Minor gaps exist (no explicit refund/cancel or merchant account creation), but these are not critical to the core workflows.

Resources