Skip to main content
Glama

Get billing summary

sprkly_get_billing_summary
Read-only

Subscription status, current plan, period end, purchased handles, accountLimit, monthlyPosts (null when the plan has no monthly cap), dailyPosts (only on a plan with a daily cap) and the last few billing events. No payment method details; the Stripe customer id is truncated.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond them: it discloses what is deliberately NOT returned (payment method details, truncated Stripe customer id) and conditional null semantics for monthlyPosts and dailyPosts, which prevents misinterpretation of missing values.

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 sentence with zero filler, and the most important item (subscription status) is front-loaded. The enumeration of fields is dense but each item earns its place by documenting an otherwise undisclosed return value; minor cost is readability of a long run-on list.

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 and no parameters, the description carries the full burden of describing the response, and it does so by enumerating the returned fields plus two key caveats (redaction, nullable caps). It stops short of describing the shape of the billing-events list or units/currency, which would fully close the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to clarify about inputs. The text instead spends its budget on output field semantics, which is the right allocation for a parameterless tool.

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 field list makes clear this returns subscription/billing state (status, plan, period end, handles, caps, recent billing events), which is concretely distinguishable from analytics or audience tools. However, it never explicitly contrasts itself with the close sibling sprkly_get_account_summary, so an agent must infer the boundary between 'billing' and 'account' summaries.

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 when-to-use guidance, no statement of exclusions (e.g. 'use get_account_summary for profile/plan usage'), and no prerequisites. The only implicit signal is that it is billing-related, which the agent would have guessed from the name 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.

Resources