Skip to main content
Glama

Create Payment Price

create_payment_price
Destructive

[publish] A new payment price (one fixed amount) on an existing payment product (product_id or product_uuid) of the provider. unit_amount in minor units (1999 = 19.99), currency = 3 letters (eur). Returns price_id and price_uuid for get_payment_link. Use it only for the amount the customer agreed to; look at list_payment_prices first and reuse a price that already matches.

Input Schema

NameRequiredDescriptionDefault
currencyYes
nicknameNo
providerYes
product_idNo
unit_amountYes
product_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (which already flag non-read-only, non-idempotent, open-world, destructive), the description discloses the return contract (price_id and price_uuid, usable in get_payment_link) and the prerequisite of an existing product. It stops short of explaining failure modes or how duplicate creation is prevented, but the reuse-first guidance partially covers the idempotency 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?

Purpose, format rules, return values, and usage constraint are front-loaded with virtually no filler. The sentences are dense and slightly run-on, but every one earns its place.

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?

The description covers what the tool produces (price IDs for get_payment_link) and the key input formats, which is enough given no output schema exists and there are 6 simple flat parameters. The unexplained provider and nickname parameters are the only meaningful gap.

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 0%, so the description must carry the load: it explains unit_amount is in minor units (1999 = 19.99), currency is a 3-letter code (eur), and product_id/product_uuid both identify an existing product. provider and nickname remain unexplained, which keeps it under full compensation.

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?

States a specific verb+resource (create a payment price, one fixed amount) on an existing payment product identified by product_id or product_uuid, with the provider scope. This is distinguishable from siblings like list_payment_prices and get_payment_link without opening any schema.

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?

Explicit when-to-use: only for the amount the customer agreed to, and look at list_payment_prices first to reuse a matching price. Names the alternative and the condition that selects it, which is the strongest form of routing guidance.

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