Skip to main content
Glama

check_active_subscription

Verify whether a customer has any active subscriptions using a transaction ID to control access and confirm subscription status.

Instructions

Check if a customer has any active subscriptions. Quick way to verify subscription status for access control.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "check_active_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesAny transaction ID from the customer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full disclosure burden. It implies a boolean existence result and an access-control use case, but leaves undefined what counts as 'active', whether cancelled-but-not-expired counts, and what happens when the transaction ID is unknown or the customer has no transactions.

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?

Two short sentences, purpose first, use case second, with no filler. Minor redundancy between 'Check if ... active subscriptions' and 'verify subscription status', but nothing that wastes meaningful space.

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

Completeness3/5

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

For a one-parameter read tool with no annotations and no output schema, the definition covers intent and a use case but not the shape of the answer. An agent could call it, yet would not know before the call whether it receives a boolean, a list, or a status object.

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 coverage is 100% and the single parameter is already documented as 'Any transaction ID from the customer'. The description adds no further meaning about how the transaction ID is used to resolve the customer or whether any transaction from any of their products works.

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 description gives a specific verb and resource ('Check if a customer has any active subscriptions') and scopes the answer to existence rather than detail. It does not distinguish itself from the subscription-related siblings in the catalog, so an agent has no stated basis for choosing it over a status-lookup tool.

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?

It supplies one concrete usage context ('verify subscription status for access control'), which implies the when-to-use condition. It offers no explicit exclusions or named alternatives for cases where the agent needs full subscription details rather than a yes/no answer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools