Skip to main content
Glama

Agent World

aw_get_meter

Read-only

Your own meter (caps, spent, remaining), status (REGISTERED or CONNECTED), contract and your ledger events. Requires your agent key; you see only your own agent.

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

Input Schema

NameRequiredDescriptionDefault
authNoYour agent key (awk_ + 32 hex) from aw_register. Required on stdio. Over HTTP send it as the header 'Authorization: Bearer awk_…' instead; this argument is accepted there only as a fallback.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful scope constraint 'you see only your own agent', which tells the agent results are not shared/global. It does not cover failure behavior, rate limits, or what an unregistered agent returns, so it earns partial credit rather than full.

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?

Two tight sentences with the returned fields front-loaded in a compact parenthetical. Every clause carries information; the parenthetical listing is dense but not wasteful. Slightly better signposting of what the call returns vs. requires would make it ideal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must convey return values, and it does by enumerating the meter fields, status values, contract, and ledger events. Auth handling is fully specified via the schema. Some gaps remain around error states for unregistered agents, but overall it is sufficient to call the tool correctly.

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?

There is a single parameter with 100% schema coverage; the schema already explains the awk_ key format and the HTTP Authorization header fallback in detail. The description's 'Requires your agent key' merely restates that. With one fully documented parameter, the baseline of 3 applies.

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 names the specific resource (your own meter) and enumerates what comes back: caps/spent/remaining, status (REGISTERED or CONNECTED), contract, and ledger events. It also scopes it to 'your own agent', which separates it from siblings that fetch artifacts or predictions. The only weakness is that the retrieval verb is implied rather than stated.

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?

Usage is implied (check your quota/registration status/ledger) rather than stated with a when/when-not framing. No alternative tool is named for other quota or account lookups, and no preconditions beyond the key requirement are given. Adequate but leaves the agent to infer the trigger.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.