Skip to main content
Glama

AI Model DB

get_subscription_plans

Read-onlyIdempotent

Get published subscription pricing offers and entitlements for a subscription product by slug.

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": {
      "slug": "<slug>"
    },
    "name": "get_subscription_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds one genuinely useful behavioral fact beyond them: only 'published' offers are returned, implying drafts or unpublished tiers are excluded. It does not say how unpublished products or unknown slugs behave (empty result vs. error), which is the remaining meaningful gap.

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?

A single front-loaded sentence with no filler and the scoping qualifier ('published') placed early where it matters. It is efficient, though the compressed phrasing around 'entitlements' is slightly under-explained rather than over-written.

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-only getter with no output schema, the description covers the core contract but leaves the return shape unstated — whether the result is a single offer set, a list of plans, or includes entitlement details. It is adequate to invoke, not quite adequate to predict the response.

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 0% and the single 'slug' parameter carries only a regex pattern, no prose. The description partially compensates by clarifying that the slug identifies a subscription product rather than an offer or plan, which is real disambiguation, but it adds nothing about format, case sensitivity, or what a well-formed product slug looks like.

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 names a specific verb ('Get') and a specific resource ('published subscription pricing offers and entitlements') keyed by product slug, which clearly separates it from get_model_pricing or list_models. It stops short of naming any sibling or the boundary condition that would route an agent between them, so it lands at clear-but-undifferentiated.

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 explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as needing a known product slug first. The phrase 'for a subscription product by slug' only implies that a product identifier must already be in hand; the agent must infer everything about alternatives.

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