Skip to main content
Glama

Get Billing Information

get_billing_info
Read-only

Get billing information for a specific month including invoice amount and billable extraction count from Stripe

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": {
      "year_month": "<year_month>"
    },
    "name": "get_billing_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
year_monthYesTarget month in YYYY-MM format (e.g., 2026-03)

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description usefully adds that data originates from Stripe and that the response contains an invoice amount and billable extraction count, which matters since there is no output schema. It says nothing about behavior when no invoice exists for the month or about latency/auth requirements, so it is additive but incomplete.

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?

One front-loaded sentence covering purpose, scope, return fields, and data source, with no filler. The return-field detail is folded into the same clause, which reads slightly dense but wastes no words.

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-only lookup with no output schema, the description supplies enough to call it correctly and to anticipate the two main return values. Minor gaps are the empty-result case and whether historical months are bounded.

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 coverage is 100%: the single required parameter year_month already carries a format description and an example. The description only restates that a month is targeted, adding no syntax or edge-case 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 billing information") plus the scope (a specific month) and even the underlying source (Stripe) and returned fields. It does not distinguish itself from potential sibling lookalikes such as get_usage_stats or get_extraction, so it falls short of a 5.

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?

The description gives no when-to-use or when-not-to-use guidance and names no alternative. An agent wanting usage/count data has no signal from this definition about whether billing info or get_usage_stats is the right call.

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