Skip to main content
Glama

Plan and Billing

billing
Read-onlyIdempotent

The owner's plan as on the Billing tab: status, renewal date, free questions left, invoices and invoice details. Owner only; the payment method stays on the billing page. Plan changes and credit packs are billing_manage. Scoped to the connected site; no domain parameter needed. Cost: FREE - reads your connected/stored data, no AI credits. Actions: status (plan, status, renewal and the billing page link).

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": {
      "action": "<action>"
    },
    "name": "billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhich operation to run. Each action, and the parameters it needs, is listed in the tool description.
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. status (plan, status, renewal and the billing page link)."New value: +"Which operation to run. Each action, and the parameters it needs, is listed in the tool description."
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuinely new context: owner-only authorization, payment method deliberately excluded, site scoping, and zero AI credit cost. That is meaningful added value but it does not cover error behavior for non-owners, so it lands at a solid 3.

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 what the tool returns, then scope, cost, and the action list, which is the right order for an agent deciding whether to call it. Dense but nearly every clause carries information; the 'Scoped to the connected site; no domain parameter needed' pairing is slightly redundant, and the invoice mention is dead weight given the single action.

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-action read tool with a full output schema and complete parameter descriptions, this covers access requirements, cost, scope, and the sibling handoff. The only real gap is that advertised outputs (invoices, invoice details) are not obtainable via the declared action, which could mislead an agent into promising them.

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 there are only two parameters, so the baseline applies. The description explains the single 'status' action's payload and rules out a domain parameter, but never mentions the optional 'intent' parameter, leaving the schema to carry that entirely.

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 and verb: reads the owner's plan from the Billing tab, listing exactly what comes back (status, renewal date, free questions left, invoices). It also names the sibling it is not ('Plan changes and credit packs are billing_manage'). Minor deduction because it advertises invoices and invoice details that are unreachable given the only enum value is 'status'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives explicit selection rules: use this for reading plan state, use billing_manage for plan changes and credit packs, and it is owner-only. It also preempts a common wrong call by noting no domain parameter is needed. It stops short of saying what happens when the caller is not the owner (error vs empty), which would complete the routing guidance.

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.