Skip to main content
Glama

IndieAPIs

Manage pricing plans for a published API

manage_api_plans

List, add, update, replace (1–10 tiers), or deactivate hard-capped pricing plans on any API owned by your IndieAPIs account.

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>",
      "action": "<action>"
    },
    "name": "manage_api_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoSingle plan payload (for action='add' or 'update')
slugYesSlug of your published API
plansNoFull replacement array of 1–10 plans (for action='replace')
actionYesOperation to perform on pricing plans
plan_slugNoTarget plan slug (required for action='update' or 'deactivate')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the description only needs to add context. It contributes meaningfully with 'hard-capped' quota semantics and the 1–10 tier bound on replace, but says nothing about whether deactivating a plan affects existing subscribers, how 'replace' treats tiers omitted from the array, or whether update is a merge or an overwrite.

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 that enumerates the five operations with zero filler. The parenthetical '(1–10 tiers)' is the only interruption and it earns its place by flagging the replace bound.

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?

For a 5-parameter tool with full schema descriptions and no output schema, this covers the operations, resource, and ownership scope adequately. The remaining gap is action-specific behavior (what deactivate does to active subscriptions, what list returns), which the description leaves entirely to the schema.

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 coverage is 100%, so the baseline is 3, and the description goes slightly beyond by tying 'replace' to a 1–10 tier array and naming the five action values that the action enum accepts. It does not clarify the plan vs plans vs plan_slug split (e.g. that update needs both plan and plan_slug), but the schema documents those fully.

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?

Names a specific resource (hard-capped pricing plans) and enumerates the concrete operations (list, add, update, replace, deactivate) plus the ownership scope. An agent can tell this is plan management on its own published APIs, not a generic API listing or publishing action.

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?

The scope clause 'on any API owned by your IndieAPIs account' implicitly excludes APIs the account does not own, which is useful. However, it never states when to reach for this tool versus siblings like my_published_apis or publish_api, nor the prerequisites (e.g. the API must already be published) for each action.

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