Skip to main content
Glama

Liam Tools (Mankato Web Solutions)

Agent budget lens

budget_lens
Read-onlyIdempotent

Check planned tool-call costs against a budget. Checks supplied estimates only. Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "budget_usd": "<budget_usd>",
      "actions": "<actions>"
    },
    "name": "budget_lens"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsYes
budget_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already carry the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds two genuinely non-obvious traits: the call is free and it only evaluates caller-supplied numbers rather than fetching pricing. It does not say what happens when spend exceeds the budget (reported verdict vs error), which is the main behavioral question.

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?

Three short, front-loaded sentences with no filler; the scope constraint follows immediately after the purpose. The fragments ("Checks supplied estimates only. Free.") are terse but each carries information, so the economy is a strength rather than a defect.

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

Completeness3/5

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

For a two-parameter, no-output-schema tool the core scope is adequately covered, and the read-only nature is fully handled by annotations. However, with no output schema the description should state the shape of the answer (over/under verdict, per-action breakdown) and the currency/units of budget_usd; both are absent.

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% for both parameters, so the description must compensate and largely does not. "Supplied estimates only" hints that estimated_cost_usd must come from the caller and not be looked up, which is the single piece of parameter meaning added. Nothing clarifies budget_usd units/currency or what the nested action fields (tool, target) are used for in the comparison.

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

Purpose4/5

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

States a specific verb and resource: check planned tool-call costs against a budget. That is clearly distinct from every sibling (checks for links, email auth, sites, text), so an agent can place it in the cost-planning domain without opening the schema. It stops short of naming a sibling alternative, so it is clear but not fully differentiated.

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?

"Checks supplied estimates only" is a useful usage boundary: it signals the tool does not price calls itself, so the agent must obtain estimates elsewhere first. There is no explicit when-to-use/when-not or named alternative, so guidance is implied rather than stated.

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.

Resources