Skip to main content
Glama

Cooper Email

Upgrade checkout link

cooper_upgrade_link
Idempotent

Use this when the human wants to upgrade, or a limit was hit and they agree to pay. Requires auth. Creates a Stripe Checkout session; no charge happens until the human completes checkout in their browser. Inputs: plan (required; starter or pro), email (optional receipt email), client_id (optional idempotency key). Returns {url, session_id, plan}: give the url to the human; never open or complete it yourself.

Input Schema

NameRequiredDescriptionDefault
planYesPaid plan to check out
emailNoOptional receipt email for the Stripe customer
client_idNoOptional idempotency key for the Checkout session

Output Schema

NameRequiredDescriptionDefault
urlNoCheckout URL for the human. Never open or complete it yourself.
planNoPlan id: free, starter, or pro.
session_idNoStripe Checkout session id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "A Stripe Checkout session. Give the url to the human.",
      +  "properties": {
      +    "plan": {
      +      "description": "Plan id: free, starter, or pro."
      +    },
      +    "session_id": {
      +      "description": "Stripe Checkout session id."
      +    },
      +    "url": {
      +      "description": "Checkout URL for the human. Never open or complete it yourself."
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true); the description goes further by explaining that no charge occurs until the human completes checkout in a browser, that auth is required, and how the returned url must be handled. That is behavior beyond what the structured fields convey.

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?

Front-loaded with the trigger condition, then the action, then constraints and inputs and return handling. Every clause is functional; there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter checkout tool, the description covers trigger, prerequisite, mutation semantics (deferred charge), input roles, and the required post-call behavior. An output schema exists, so the brief return summary is a bonus rather than a necessity.

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% and the enum values (starter/pro) are already in the schema, so the description's parameter recap adds no new meaning. Baseline 3 applies when the schema carries the parameter documentation.

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 and resource: 'Creates a Stripe Checkout session', plus the trigger condition (human wants to upgrade / a limit was hit). It is clearly distinguishable from siblings like cooper_billing_status (status read) or cooper_set_addons (configuration change).

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?

Gives explicit when-to-use conditions ('when the human wants to upgrade, or a limit was hit and they agree to pay') and an explicit downstream instruction: give the url to the human, never open or complete it yourself. It also flags the auth prerequisite, leaving little to inference.

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.