Skip to main content
Glama

wallras_usage

Read-only

Retrieves usage metrics such as requests, errors, tokens, cost, and latency, grouped by model or app over a chosen time window.

Instructions

Requests, errors, tokens, cost and latency, by model or app.

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

Input Schema

NameRequiredDescriptionDefault
byNo
hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.21.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: no default lookback window, no aggregation granularity, no note on whether results are grouped or totalled when 'by' is omitted. Given the annotation coverage, this is a mild but real gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short and front-loaded, with no filler, but it is a single comma-spliced fragment rather than a structured statement of action plus scope. Its brevity comes at the cost of specification.

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-optional-parameter reporting tool with no output schema, listing the returned metrics is genuinely useful. However, the absence of any statement about the default time range, the effect of omitting 'by', or the granularity of results leaves an agent unable to predict the response shape.

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?

With 0% schema description coverage, the description must carry the parameter burden. 'By model or app' loosely echoes the 'by' enum values but adds no meaning the enum does not already encode, and the 'hours' parameter is never explained at all (lookback window? bucket size?), leaving the single most ambiguous input undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names the resource (usage metrics: requests, errors, tokens, cost, latency) and its grouping dimensions (by model or app), so an agent can guess it retrieves usage statistics. But it is a noun phrase with no verb or operation, so the actual action (fetch/aggregate a report) is implied rather than stated, and nothing distinguishes it from close siblings like wallras_prompt_usage.

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 when-to-use guidance, no mention of alternatives such as wallras_prompt_usage or wallras_overview, and no stated prerequisites. The agent must infer the choice entirely from the sibling names.

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