Skip to main content
Glama

Blue Cap Machine Commerce

Blue Cap schema.validate — Stripe MPP

schema_validate_mpp
Idempotent

Return a Stripe MPP payment link for this Blue Cap capability. POST the same arguments to paymentLink to receive the HTTP 402 challenge and complete payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
schemaYesJSON Schema using the published Draft 2020-12 supported subset.
consumer_idYes
invocation_contextYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYes
methodYes
providerYes
paymentLinkYes
requestBodyYes
instructionsYes
paymentProtocolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations supply idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is largely covered. The description usefully adds the two-step payment flow (return link, then POST to paymentLink for the 402 challenge), but omits auth requirements, what state is created, and whether the link expires.

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?

Two short sentences with the deliverable front-loaded and the payment step second; no filler. It could be tighter only by naming the capability explicitly.

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?

An output schema exists so return values needn't be described, and the payment handoff is covered. However, for a 4-required-param paid tool with nested objects, the absence of any parameter or prerequisite explanation leaves real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% across 4 required parameters (value, schema, consumer_id, invocation_context), and the description says only 'the same arguments' without explaining any of them. It fails to compensate for the sparse schema, leaving consumer_id format and invocation_context contents entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the deliverable (a Stripe MPP payment link) and ties it to 'this Blue Cap capability', but never names the actual capability — schema validation — so the verb+resource must be inferred from the tool name and title. It also does not contrast itself with the sibling schema_validate.

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?

It gives a concrete next step ('POST the same arguments to paymentLink to receive the HTTP 402 challenge'), which implies this is the paid/MPP entry point, but it never says when to choose this over the non-MPP schema_validate sibling or what prerequisite triggers the payment path.

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