Skip to main content
Glama

finish_quota_tracking

Ends an active quota tracking session after a task, measures real 5-hour and weekly quota changes, isolates parallel-chat usage, and updates persistent consumption learnings.

Instructions

Completes an active quota tracking session after a task finishes. Measures real 5h & weekly quota delta, scans Antigravity transcript logs to detect parallel chats that ran simultaneously, calculates isolated consumption, and updates the persistent learning file (quota_learnings.json).

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

Input Schema

NameRequiredDescriptionDefault
tracking_idNoOptional. The tracking_id returned by start_quota_tracking. If omitted, finishes the latest active session.
conversation_idNoOptional. Conversation ID of the current chat for parallel-chat isolation.
actual_scope_summaryNoOptional summary of work actually performed (e.g. 'Modified 5 files, 14 tool calls').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful side effects: it reads Antigravity transcript logs, computes consumption deltas, and mutates the persistent quota_learnings.json file. It omits error behavior when no session exists, whether the file write is append vs overwrite, and any idempotency or timing caveats.

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?

Single dense sentence, front-loaded with the action and trigger before listing effects, with no filler. It is slightly run-on with four comma-linked clauses, but each clause conveys distinct, useful information.

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 tool with no annotations and no output schema, the description explains inputs and side effects well but says nothing about what is returned (the computed delta, isolation results, or confirmation of the learning-file update). An agent knows what the call does but not what it gets back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all three optional parameters are documented in the schema itself, setting the baseline at 3. The description adds contextual meaning only for conversation_id by explaining that parallel-chat isolation comes from scanning transcript logs, but adds nothing about tracking_id fallback behavior or how actual_scope_summary is consumed.

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?

States a specific verb and resource ('Completes an active quota tracking session') and then enumerates the concrete operations performed: quota delta measurement, transcript log scanning, isolated consumption calculation, and learning-file update. The pairing with start_quota_tracking is clear from 'after a task finishes' and the tracking_id reference, so the agent can distinguish start from finish.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trigger condition is explicit: call this after a task finishes. It also implies the prerequisite that a session must be active (tracking_id from start_quota_tracking). It does not state what happens if no session is active, nor does it explicitly route to sibling summary/learnings tools, which keeps it short of a 5.

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