Skip to main content
Glama

Create product

pmitz_create_product

Creates a product with its features, limits and plans. Limits belong to features; a plan lists the features it includes and may override their limits. Fails with a conflict if the product ID already exists; there is no update, so changing a product means removing it and creating it again. 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>",
      "product": "<product>"
    },
    "name": "pmitz_create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesOne product object. Example with a Free plan of 3 exports a month and a Pro plan of 100: {"productId":"reports","features":[{"featureId":"export","limits":[{"type":"CalendarPeriodRateLimit","id":"monthly-exports","quota":3,"periodicity":"MONTH"}]},{"featureId":"audit-log","limits":[]}],"plans":[{"planId":"free","includedFeatures":["export"]},{"planId":"pro","includedFeatures":["export","audit-log"],"limitsOverride":[{"type":"CalendarPeriodRateLimit","id":"monthly-exports","quota":100,"periodicity":"MONTH"}]}]}
sandboxYesThe sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_….

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already mark this as non-read-only, non-idempotent and non-destructive; the description adds genuine context beyond that: duplicate-ID conflict behavior, the absence of any update operation, and the single-sandbox scope. It stops short of describing the response payload or permission requirements, keeping it at a strong 4 rather than 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?

Four short sentences, front-loaded with the action and payload, then the data model, then the failure/update constraints. No filler and no repetition of schema text.

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 two-parameter but deeply nested creation call, the description covers structure, constraint semantics and duplicate handling, and the schema itself carries a full worked example. The only gap is that no return value is described, which matters slightly since there is no output 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, but the description adds the cross-field model the schema only implies: limits are defined once per feature, plans reference features by ID, and plan-level limitsOverride replaces the feature limit of the same id. That reduces the chance of misconstructing the nested object.

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?

"Creates a product with its features, limits and plans" gives a specific verb and resource and enumerates the nested payload, so an agent knows exactly what the call produces. It also distinguishes this from the mutation siblings by stating there is no update path.

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?

The description spells out the failure condition (conflict if the product ID already exists) and the only alternative workflow for changing a product (remove then recreate). That is explicit when-to-use and when-not-to-use guidance tied to real sibling operations.

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.