Skip to main content
Glama

Get event usage

get_usage
Read-onlyIdempotent

Get current billing usage for your organization (events used, limit, plan)

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

Input Schema

NameRequiredDescriptionDefault
org_idNoOrganization ID (auto-detects if omitted)

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, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered by structured data. The description adds a light preview of the payload (events used, limit, plan) but says nothing about authorization requirements or how usage is scoped or time-windowed.

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 front-loaded sentence with a useful parenthetical; nothing is wasted or buried. It is perhaps slightly too terse to be maximally helpful, but there is no filler.

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?

For a one-optional-parameter read tool whose annotations cover safety and whose schema fully documents the parameter, the definition covers what it does and roughly what it returns. The absence of an output schema makes the payload preview mildly more important, and it is present, though brief.

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?

The single org_id parameter already has 100% schema description coverage including the 'auto-detects if omitted' behavior, so the schema carries the semantics. The description's phrase 'for your organization' loosely reinforces that the default is the caller's own org, but adds no real meaning beyond the schema.

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?

States a specific verb and resource: 'Get current billing usage for your organization,' plus a parenthetical of what the result contains (events used, limit, plan). It is unambiguous and distinguishable from the sibling tools, which cover projects, issues, monitors and uptime rather than billing, though it never explicitly contrasts itself with any of them.

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 only implied by the phrase 'current billing usage' — there is no explicit statement of when to call it, when not to, or what alternative exists. For a simple single-purpose read tool this is close to sufficient, but no guidance is actually given.

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.

Resources