Skip to main content
Glama

List Subscriptions

list_subscriptions
Read-onlyIdempotent

List subscriptions owned by the API key owner, with optional filters and sorting, so an agent can search, summarize, compare, or identify records before writing. Results are paged; the response includes a pagination object (limit, offset, hasMore) and an echo of the applied query. Use when: The user asks to show, search, analyze, or summarize subscriptions. The user names a subscription but does not provide its UUID. The user asks which subscriptions renew soon (use status=active with expiringBefore) or which free trials are active (use isTrial=true). The agent needs current state before planning an update or delete. Do not use when: The user provides a known UUID and asks for only that exact record. The user wants computed totals or savings advice (use get_spend_summary or get_optimization_suggestions). Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.

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

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive search over the subscription name.
sortNoSort order. Prefix with - for descending, for example -nextPaymentDate.-createdAt
limitNoMaximum number of subscriptions to return (1-100, default 50).
offsetNoNumber of subscriptions to skip from the start. Use offset + limit to fetch the next page while hasMore is true.
periodNoFilter by billing period.
statusNoFilter by lifecycle state.
isTrialNoFilter by free-trial status (true returns only free trials; false excludes free trials).
categoryNoExact category match, for example "Streaming".
expiringBeforeNoReturn subscriptions whose nextPaymentDate is on or before this date. Combine with status=active to find renewals due soon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the safe-read profile (readOnlyHint, idempotentHint, destructiveHint=false), yet the description still adds return-shape detail that no output schema provides: paged results with a pagination object (limit, offset, hasMore) plus an echo of the applied query. It also draws a hard boundary around what the agent must not attempt (Bark URL/device key, test push, timeZone/locale, category catalog) and defines the post-configuration fallback of toggling enabled/daysBefore and notificationEnabled. The only shortfall is that this boundary material belongs to the notification tools, not to listing.

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?

The core scope, use-when, and do-not-use-when content is front-loaded and tight, but roughly a third of the text is Bark/notification policy (refusal script, Settings → Notifications pointer, English and Chinese documentation URLs) that an agent listing subscriptions does not need. That material is duplicated effort for a read-only list tool and dilutes the signal.

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

Completeness5/5

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

With nine optional parameters, no output schema, and no required fields, the definition covers everything an agent needs: ownership scope, paging protocol, filter combinations, return envelope, and the correct alternative tools for exact lookups and aggregate computations. Nothing essential to calling it correctly is missing.

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?

Schema description coverage is 100%, so the baseline is 3, but the description earns more by supplying parameter combinations the schema cannot: status=active with expiringBefore for renewals due soon, and isTrial=true for active trials. It also explains the offset + limit / hasMore paging loop, which is semantic guidance rather than a restatement of field definitions.

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

Purpose5/5

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

Opens with a specific verb and resource ('List subscriptions owned by the API key owner') and names the scoping rule that separates it from get_subscription: do not use it when the user already has a UUID. An agent can pick this over its siblings without opening any schema.

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

Usage Guidelines5/5

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

Contains an explicit 'Use when' block (show/search/summarize, name-but-no-UUID, renewals soon via status=active + expiringBefore, active trials via isTrial=true, pre-update state checks) and an explicit 'Do not use when' block that routes to get_subscription for exact UUID lookups and to get_spend_summary / get_optimization_suggestions for computed totals. Nothing is left to inference.

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