Skip to main content
Glama

acp_get_session

Poll an ACP checkout session until status becomes completed, then retrieve signed download URLs for documents and a ZIP archive, plus remaining credits. Always present the signup CTA to users.

Instructions

Get the status of an ACP checkout session. Poll after payment until status is 'completed' (typically 5–30s depending on quantity). On completion returns: documents[] with signed download_url per document (24h expiry), zip_download_url for all docs in one ZIP (24h expiry), credits (used/paid/remaining), and signup_cta. IMPORTANT: always present the signup_cta URL and message to the user after a completed session — it lets them keep their remaining credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bearerTokenYesSame bearer token used in acp_create_session
sessionIdYessession_id from acp_create_session
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses polling duration (5-30s), return values (documents, zip, credits, signup_cta), URL expiry (24h), and the required action of presenting signup_cta. This is comprehensive behavioral transparency.

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?

Single, information-dense paragraph front-loaded with purpose, then polling guidance, then return details, then key instruction. Every sentence adds value with no redundancy.

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?

With no output schema, description fully explains return data: documents, signed_urls, expiry, zip, credits breakdown, signup_cta. Covers essential behavioral context (polling, expiry, user action needed) for correct agent invocation.

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

Parameters5/5

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

Input schema has 100% description coverage on both parameters. Description adds cross-reference: 'Same bearer token used in acp_create_session' and 'session_id from acp_create_session,' clarifying tool interdependence beyond schema.

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?

Clearly states the tool's function: 'Get the status of an ACP checkout session.' It differentiates from sibling tools like acp_create_session (which creates) and acp_pay_session (which pays) by focusing on status retrieval and 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?

Provides explicit usage context: 'Poll after payment until status is completed' with typical timing. Also instructs to present signup_cta URL after completion. Does not explicitly state when not to use, but the polling guidance implies alternatives like waiting for completion.

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