Skip to main content
Glama
Context Budget Engine
by sivram04

savings

Reports how many tokens read_smart and log_smart have kept out of the assistant context so far.

Instructions

Tokens kept out of this assistant's context by read_smart/log_smart so far.

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": "savings"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful traits: the figure is cumulative ('so far') and scoped to this assistant's context, not global. However it never states that the call is a passive, side-effect-free read with no cost, which is exactly what an agent needs to know before polling a metrics tool.

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 front-loaded sentence with no filler; the subject of the measurement leads and the producing tools follow as a qualifier. Nothing could be removed without losing information.

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 tool is trivial — no inputs and a declared output schema — so the description need not explain the return shape. The one residual gap is whether the counter is aggregated across all sessions or resettable, which the description leaves ambiguous but which is minor at this complexity.

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 takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. It correctly avoids inventing argument semantics that don't exist.

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?

The description states a specific resource — a cumulative count of tokens kept out of the assistant's context — and attributes it to read_smart/log_smart, which separates it from those siblings. It lacks an explicit verb ('Get'/'Report'), so the agent must infer that the tool returns that figure rather than computes or changes anything, keeping it short of a 5.

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?

Usage is only implied: an agent can infer this is the place to check accumulated savings. There is no 'use this when' framing, no statement that it takes no arguments and is safe to call freely, and no contrast drawn with search_smart or the other siblings despite them being listed.

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

Deploy Server

Other Tools