Skip to main content
Glama

Context Tally

show_context_usage

Open the Context Tally panel to inspect context window usage, view category breakdowns, and check prompt-cache hit rates for a conversation.

Instructions

Open the Context Tally panel showing context window usage, category breakdown, and cache hit rates.

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

Input Schema

NameRequiredDescriptionDefault
conversationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does not say whether "open the panel" is a UI side effect for the human user or whether the data is returned to the agent as content, nor what happens when conversationId is omitted. For an action tool with zero annotation coverage, these omissions matter.

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?

One front-loaded sentence with no filler, and the panel name and payload arrive immediately. It is efficient, though its brevity is part of why the behavioral and parameter gaps exist.

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

Completeness2/5

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

No output schema and no annotations mean the description is the only source of behavioral detail, and it covers only what the panel displays. It leaves unresolved the two things an agent most needs: what conversationId does and whether this returns data or merely opens UI.

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 single parameter, conversationId, has 0% schema description coverage and is never mentioned in the description. The agent gets no indication whether it selects which conversation's usage is tallied or whether omitting it defaults to the current conversation.

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 pairs a specific verb ("Open") with a named resource ("Context Tally panel") and enumerates the panel's contents: context window usage, category breakdown, cache hit rates. This lets an agent distinguish it from get_context_diagnostics or refresh_context_usage, but it never explicitly contrasts itself with those siblings.

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?

There is no statement of when to use this tool versus refresh_context_usage (which presumably updates the same data) or get_context_diagnostics. The agent must infer from the name alone that this is the display-oriented option, and no prerequisites or exclusions are given.

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