Skip to main content
Glama
shanjairaj7

commune-mcp

by shanjairaj7

credits_checkout

Creates a Stripe checkout session for purchasing credit bundles. Choose from starter, growth, or scale to get a checkout URL for payment.

Instructions

Create a Stripe checkout session to purchase a credit bundle.

Returns a checkout_url to open in the browser to complete payment. Valid bundles: "starter", "growth", "scale".

Args: bundle: The bundle ID to purchase — "starter", "growth", or "scale" return_url: URL to redirect to after payment (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bundleYes
return_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description must disclose behavioral traits. It mentions creating a checkout session and returning a URL, but omits details like idempotency, error handling, authentication requirements, or what happens after payment (e.g., credit addition). This is insufficient for a payment tool.

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?

Description is concise with three short paragraphs: purpose, return value, valid bundles, and parameter details. No redundant sentences; front-loaded with main action.

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?

Tool has 2 parameters and an output schema (not provided). The description covers basic functionality and parameters, but for a financial transaction, more details on pricing, error states, and post-payment behavior would be helpful. Completeness is adequate but not thorough.

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 description must compensate. It explains 'bundle' as 'The bundle ID to purchase — "starter", "growth", or "scale"' and 'return_url' as 'URL to redirect to after payment (optional)'. This adds meaning beyond type information, though the list of bundles is not formalized as an enum.

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?

The description clearly states it 'Create a Stripe checkout session to purchase a credit bundle' and lists valid bundles. This specific verb-resource combination distinguishes it from sibling tools like list_credit_bundles or get_credit_balance.

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?

Implied usage: use when you want to buy credits. It lists valid bundles and mentions the return URL, but does not explicitly state when not to use or compare with alternatives (e.g., direct purchase, other payment methods).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shanjairaj7/commune-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server