Skip to main content
Glama
crisjonblvx

enrichrapi-mcp

by crisjonblvx

billing_portal

Create a Stripe portal URL for users to update payment methods, cancel subscriptions, or download invoices. The URL expires after a few minutes.

Instructions

Open a Stripe Billing Portal session for the current API key.

Use this when the user wants to update their payment method, cancel, or download invoices. Returns a URL the user should open in their browser; the URL expires after a few minutes.

Returns: dict with keys: url (or null + note if Stripe not configured)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the return format ('dict with keys: url'), the time-limited nature of the URL ('expires after a few minutes'), and the failure mode ('null + note if Stripe not configured'). It does not mention side effects or permission requirements, but for a zero-parameter tool this is strong coverage.

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?

The description is compact and front-loaded: purpose, then usage guidance, then return behavior. Every sentence earns its place and there is no redundant 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 parameterless tool with no output schema, the description is complete: it explains what it does, when to use it, what it returns, and what happens when Stripe is not configured. Nothing essential is missing for an agent to call it correctly.

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?

The tool has zero parameters and an empty schema, so the baseline is 4. The description adds relevant context about the implicit 'current API key' without needing to document any parameters.

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?

The description states a specific verb and resource: 'Open a Stripe Billing Portal session for the current API key.' This is clear and unambiguous. However, it does not explicitly contrast with sibling tools such as start_checkout, so the differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage contexts: 'Use this when the user wants to update their payment method, cancel, or download invoices.' This gives an agent clear conditions for invoking the tool, although it does not mention when not to use it or name alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.