Skip to main content
Glama

Create subscription

pmitz_create_subscription

Creates a subscription and assigns a plan per product. Fails with a conflict if the subscription ID already exists. Acts on one Pmitz sandbox.

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": {
      "sandbox": "<sandbox>",
      "subscriptionId": "<subscriptionId>",
      "status": "<status>",
      "plans": "<plans>"
    },
    "name": "pmitz_create_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
plansYesPlan ID per product ID, for example {"reports": "free"}.
statusYesInitial status, usually ACTIVE.
sandboxYesThe sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_….
expirationDateNoOptional ISO date-time with an offset, for example 2027-01-31T00:00:00Z.
subscriptionIdYesNew subscription ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare that this is a mutating, non-idempotent, non-destructive, closed-world operation. The description adds genuinely new behavioral context beyond that: creation fails with a conflict when the subscription ID already exists (a natural consequence of idempotentHint=false), and the call is confined to one sandbox. It omits any mention of permissions or limits, keeping it short of a 5.

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

Conciseness5/5

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

Three tight sentences with no wasted wording, and the core action is front-loaded ahead of the failure behavior and the sandbox scope. Nothing could be removed without losing information.

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 five-parameter mutation tool with full schema coverage and no output schema, the description covers the essential behavior: creation, plan assignment, conflict failure, and sandbox scoping. It stops short of noting whether the sandbox must already exist or what a successful response identifies.

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 all five parameters, the status enum, and the plans map documented inline, so the baseline is 3. The description's "assigns a plan per product" merely echoes the existing plans schema description and adds no format or validation detail.

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?

States a specific verb and resource ("Creates a subscription") plus the key side effect of assigning a plan per product, and scopes it to a single sandbox. It does not explicitly contrast with siblings such as pmitz_update_subscription_status, but the create-vs-update distinction is clear from the verb alone.

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?

The description never says when to use this tool versus alternatives, nor does it state prerequisites such as requiring an existing sandbox from pmitz_create_sandbox. Usage is only inferable from the verb and the sandbox-scoping sentence.

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.