Skip to main content
Glama

agy_usage

Read-onlyIdempotent

Read account quota and available credits to check remaining usage limits before delegating coding tasks.

Instructions

Read account quota and available credits.

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

Input Schema

NameRequiredDescriptionDefault
refreshNo

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
groupsNo
result_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered. The description adds nothing beyond that: no mention of whether the quota read is cached/live, whether calls are rate-limited or billed, or what happens when credits are exhausted — all of which matter for a read-only quota check.

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 short, front-loaded sentence with no filler or redundancy. Its brevity is efficient, though the terseness is what leaves the parameter and usage gaps elsewhere.

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?

An output schema exists, so return-value explanation is not required, but the tool is otherwise under-described: the lone 'refresh' parameter and the caching/rate-limit semantics are unaddressed. For a quota/credits check that agents may call repeatedly, the definition gives too little to invoke it confidently.

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% and the single optional 'refresh' flag is never mentioned in the description, so its meaning (force a fresh quota fetch vs. use cached data) is left ambiguous in both structured and prose fields. With low coverage the description was expected to compensate, and it does not.

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 uses a specific verb ('Read') plus two concrete resources ('account quota' and 'available credits'), which is enough to separate it from siblings like agy_settings, agy_status, or agy_models. It stops short of naming or contrasting any sibling explicitly, so it lands at clear-but-undifferentiated.

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 call this versus alternatives, no prerequisite or auth context, and no hint about when to use it (e.g., before starting work to check remaining quota). The agent must infer usage entirely from the purpose line.

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