Skip to main content
Glama
BenItBuhner

Cursor Cloud MCP

by BenItBuhner

get_usage

Retrieve token usage for a Cursor Cloud agent, including total consumption and per-run breakdowns. Filter by run ID to scope usage to a specific run.

Instructions

Token usage for an agent, total + per run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAgent id
runIdNoScope to one run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the shape of the returned data (total plus per-run breakdown), which is genuinely useful. However, it never states that this is a read-only, side-effect-free lookup, nor does it mention auth requirements or rate limits.

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?

A single short phrase with no wasted words and the key scoping information front-loaded. It is arguably terse to the point of under-specification, which keeps it off a 5.

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 two-parameter read tool with full schema coverage and no output schema, the description covers the essentials but is minimal. It hints at the return shape ('total + per run') without confirming what an omitted runId yields, leaving a small gap an agent must infer.

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 the schema already documents both 'id' (agent id) and 'runId' (scope to one run). The description's 'per run' phrasing only loosely reinforces the runId semantics and adds no syntax or format detail, so it sits at the baseline of 3.

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 phrase names a specific resource (token usage) scoped to an agent and clarifies the granularity (total plus per-run). The verb is only implicit in the name 'get_usage', and no sibling is named for differentiation, but the intent is unambiguous.

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 alternatives, no prerequisites, and no mention of how it relates to siblings like get_agent, get_run, or list_runs. The only hint is that a runId scopes the result, which is left implicit.

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