Skip to main content
Glama

Get billing history

get_billing_history
Read-onlyIdempotent

Recent payments on the account: subscriptions, renewals, extra-request settles, bonus purchases; amount, paid status, dates.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many records (default 20)

Output Schema

NameRequiredDescriptionDefault
paymentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / payments / items / properties
      Added value: +{
      +  "amount_cents": {
      +    "type": "integer"
      +  },
      +  "billing_month": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "bonus_requests_granted": {
      +    "type": "integer"
      +  },
      +  "created_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "extra_requests_billed": {
      +    "type": "integer"
      +  },
      +  "id": {
      +    "type": "integer"
      +  },
      +  "kind": {
      +    "type": "string"
      +  },
      +  "paid": {
      +    "type": "boolean"
      +  },
      +  "paid_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a read-only, idempotent, non-destructive operation, so the safety burden is lifted. The description adds useful context about which payment categories appear in the result, but says nothing about ordering, the time span covered by 'recent', or what happens when the limit is reached.

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 dense sentence with the resource and result contents front-loaded and no filler. It is a sentence fragment rather than prose, but nothing in it is wasted.

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 annotations covering the safety profile, an output schema documenting returns, and a single optional parameter fully described in the schema, the description supplies everything an agent needs to select and call this tool. Restating 'amount, paid status, dates' is redundant against the output schema but not harmful.

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?

Schema description coverage is 100% and the single limit parameter already documents its meaning and default of 20. The description adds no parameter-level guidance beyond that, so the baseline 3 for schema-complete definitions 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?

States a specific resource (recent payments on the account) and enumerates the record types it covers: subscriptions, renewals, extra-request settles, bonus purchases. It is distinguishable from balance-oriented siblings like get_amount_owed, but never names or contrasts with an alternative, so it stops 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no indication of when this is preferable to get_amount_owed or get_account_status, and no mention of the time window that 'recent' implies. Usage is only inferable from the phrase 'Recent payments'.

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