Skip to main content
Glama

ohmyho.st

Read recent measured usage by day, project and meter

organization_usage_get
Read-onlyIdempotent

Read the billed usage of the last up to 14 UTC days (today included) grouped by day, project and meter, and what each project has used so far this UTC month. One credit is 1000000 microcredits. Null environment means shared project cost. Charges can arrive late and unmetered usage is not zero consumption. Owner-only; works at zero credit without new charges.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "organization_id": "<organization_id>"
    },
    "name": "organization_usage_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
organization_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), it discloses genuinely useful traits: the 14-day window with today included, month-to-date accumulation, the microcredit conversion rate, the meaning of a null environment, late-arriving charges, the caveat that unmetered usage is not zero consumption, and that it works at zero credit without new charges. That is a rich behavioral payload; only a pagination/response-shape note is missing.

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?

Front-loaded with the core scope first, then progressively narrower behavioral caveats. The dense semicolon-separated clauses are efficient, though the credit-conversion and null-environment asides are somewhat compressed into the main flow.

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 single-parameter read tool with no output schema, the description supplies the time window, grouping granularity, units, freshness caveats and access requirements an agent needs. The one gap is that the return shape (e.g., whether results are keyed by project or meter) is only loosely implied.

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?

Only one parameter (organization_id) exists and the description says nothing about it; the schema pattern documents its format, so coverage burden is low. The 'Null environment means shared project cost' sentence describes a concept that does not appear as a parameter in the schema, which adds ambiguity rather than clarity about inputs.

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+resource: 'Read the billed usage' with explicit scope (last up to 14 UTC days, today included), grouping dimensions (day, project, meter) and a month-to-date component. It is distinctive against the sibling database_execution_usage_get only implicitly through the 'billed usage' framing; it never names the alternative, so it falls just short of full sibling differentiation.

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 context is implied by the scope ('billed usage ... up to 14 UTC days') and a hard prerequisite is given ('Owner-only'), but there is no explicit when-to-use / when-not-to-use guidance and no routing to sibling tools such as database_execution_usage_get or organization_credits_get. An agent must infer the choice from scope alone.

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.