Skip to main content
Glama

What was spent

spend
Read-only

Returns money and limits now: spend today and this month, the budget left, what Auto saved, the top models by cost, this month's hand off totals and grades, and each platform's room before its nearest limit.

Instructions

Returns money and limits now: spend today and this month, the budget left, what Auto saved, the top models by cost, this month's hand off totals and grades, and each platform's room before its nearest limit. Use it before paid work, or when the user asks what they spent or how much budget is left. Not for tokens kept out over time or one prompt's parts (use report), calls running now (use live) or a price before sending (use estimate). Read only: takes no input, calls no model, changes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spend"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.1

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 openWorldHint=false, so "changes nothing" largely restates them; however "calls no model" adds a genuinely useful fact the annotations do not convey — invoking this tool incurs no model spend. It also conveys freshness/scope ("now," today vs. this month), which matters for a spend readout, though it says nothing about caching or when figures refresh.

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?

Purpose and freshness are front-loaded, followed by usage triggers, then exclusions — a sensible order. The middle output enumeration is a long single run-on clause and leans on jargon ("hand off totals and grades," "room before its nearest limit"), but each item earns its place given there is no output schema.

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?

Because no output schema exists, the description must carry the return content, and it does so by listing the categories of figures returned, plus it establishes that the call is free of model cost and side effects. The only shortfall is that some return labels are internal jargon an agent may not map cleanly to a user's phrasing.

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?

With zero parameters the baseline is 4, and the description confirms the contract with "takes no input," removing any doubt an agent might add arguments. It adds no further parameter information, which is appropriate since there is none to explain.

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 names a specific verb ("Returns") and enumerates concrete resources: spend today/month, budget left, Auto savings, top models by cost, handoff totals/grades, and per-platform headroom to nearest limit. It explicitly distinguishes itself from siblings report, live, and estimate, so an agent can pick it without opening any schema.

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 gives positive triggers ("before paid work, or when the user asks what they spent or how much budget is left") and explicit exclusions with named alternatives: use report for tokens kept out over time or one prompt's parts, live for calls running now, estimate for a price before sending. Nothing is left to inference.

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