Skip to main content
Glama

acp_pay_session

Pay for an ACP checkout session with a Stripe payment method ID. Charges the amount due and starts background document generation.

Instructions

Pay for an ACP checkout session using a Stripe payment method ID (pm_xxx). Charges the amount_due returned by acp_create_session. On success, document generation begins in the background — poll acp_get_session until status is 'completed'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bearerTokenYesSame bearer token used in acp_create_session
sessionIdYessession_id from acp_create_session
stripePaymentMethodIdYesStripe payment method ID (pm_xxx) — obtain via Stripe.js or the Stripe API
emailYesEmail for the Stripe receipt
Behavior4/5

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

Discloses side effect (background document generation) and async polling requirement. No annotations provided, so description covers main behavioral traits well, though could mention idempotency or failure modes.

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?

Two sentences plus one follow-up instruction. Front-loaded with purpose, every sentence earns its place. No fluff.

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?

Given no output schema, description explains success behavior (document generation) and polling instruction. Covers main flow well, but could mention error handling or response format for slight improvement.

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 has 100% coverage, but description adds valuable context: bearerToken reused, sessionId provenance, Stripe PM acquisition method, and email purpose. Goes beyond schema repetition.

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?

Description clearly states action ('Pay for an ACP checkout session'), specific resource, and distinguishes from siblings like acp_create_session and acp_get_session. It also notes the follow-up action (polling).

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?

Specifies when to use (after acp_create_session), how to obtain Stripe PM ID, and next step (poll acp_get_session). Missing explicit when-not-to-use or alternatives, but context is clear.

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/ayo-nci/bulkrender-mcp'

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