Skip to main content
Glama

TgPay Crypto Merchant API

getSubscriptions

Read-only

List subscriptions (subscribers).

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

Input Schema

NameRequiredDescriptionDefault
countNoPage size (default 100, max 500).
offsetNoSkip this many.
statusNoactive | grace | cancelled | expired.
plan_idNoFilter by plan.
user_idNoFilter by Telegram user id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / count
      Added value: +{
      +  "description": "Page size (default 100, max 500).",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Skip this many.",
      +  "type": "integer"
      +}
  2. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description is not required to establish safety. Beyond that it adds essentially nothing: no note on default ordering, pagination behavior beyond what the schema states, or whether cancelled/expired subscriptions are included by default.

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

Conciseness3/5

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

It is a single front-loaded fragment with zero wasted words, which is good structurally. But the brevity is under-specification rather than economy — the one line carries almost no information an agent could not get from the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter filtered list tool with no output schema, the description should at least indicate what a record contains or how results are ordered. As written, an agent has no basis for choosing it over sibling read tools or for interpreting the returned list.

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%, with each of the five optional parameters documented in the schema itself, so the baseline is 3. The description adds no extra meaning about how filters combine or what happens when status and plan_id are both supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List subscriptions (subscribers)" gives a clear verb and resource, so an agent knows it is a read of subscription records. However, it offers no differentiation from nearby siblings such as getSubscriptionPlans or cancelSubscription, and the parenthetical gloss "(subscribers)" is ambiguous rather than clarifying.

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 prerequisite or authentication note, and no mention of when a different tool (e.g. getSubscriptionPlans for plan definitions) should be preferred. The agent must infer all routing decisions 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