Skip to main content
Glama

Subscription payments

get_subscription_payments
Read-onlyIdempotent

Payment history for a specific subscription by name, newest first. totalPaid covers all payments, not just this page. Returns at most 20 per call with totalCount and hasMore. If hasMore is true, call again with offset set to nextOffset for the next page.

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": {
      "subscriptionName": "<subscriptionName>"
    },
    "name": "get_subscription_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax payments to return, up to 20 (default: 20)
offsetNoNumber of rows to skip, for paging (default: 0). Use nextOffset from the previous response.
subscriptionNameYesName of the subscription (partial match supported)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real value beyond that: result ordering (newest first), the page cap of 20, the presence of totalCount/hasMore, and the important caveat that totalPaid spans all payments rather than the current page.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the resource and ordering, then the aggregate caveat, then page size, then the paging loop. Nothing is redundant and the totalPaid clarification earns its place.

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, the description carries the burden of explaining return shape and does so for the key fields (totalCount, hasMore, nextOffset, totalPaid). It omits what individual payment records contain, which is a minor gap for a three-parameter read tool.

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%, so limit, offset, and subscriptionName are all documented in the schema, including the partial-match note and the nextOffset convention. The description only restates the paging mechanics, adding no syntax or format detail 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: 'Payment history for a specific subscription by name'. The word 'subscription' implicitly separates it from siblings like get_loan_payments and get_recurring_bill_payments, though no sibling is named explicitly.

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?

Gives clear operational guidance for paging ('If hasMore is true, call again with offset set to nextOffset'), but says nothing about when to choose this tool over get_loan_payments or get_recurring_bill_payments. Usage context is implied by the resource name rather than stated.

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