Skip to main content
Glama

Refresh Context Tally

refresh_context_usage

Fetch a current Context Tally snapshot for an Antigravity chat, or return an unchanged marker when the supplied revision matches to avoid redundant context-usage updates.

Instructions

Return a fresh Context Tally snapshot, or a lightweight unchanged marker when the revision matches.

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

Input Schema

NameRequiredDescriptionDefault
lastRevisionNo
conversationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses that a matching revision yields a lightweight unchanged marker rather than a full snapshot, but does not explicitly confirm read-only behavior, side effects, or error conditions.

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?

The definition is a single front-loaded sentence with no filler, and both the primary return and the fallback marker are stated efficiently.

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?

Without an output schema, the description should say more about what a Context Tally snapshot contains and how conversationId affects scope. It covers only the core conditional return and leaves key parameter meaning unexplained.

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 implies lastRevision controls revision matching but never explains conversationId, parameter formats, or whether either parameter is optional.

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 verb ('Return') and resource ('Context Tally snapshot'), and distinguishes between a fresh snapshot and an unchanged marker. It is clear on its own, though it does not explicitly differentiate itself from the sibling show_context_usage.

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?

It explains a conditional behavior when the revision matches, which implies a usage pattern, but never states when an agent should choose this tool over alternatives such as show_context_usage.

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