Skip to main content
Glama

agentpact.get_payment_status

Read-only

Check the current status of a USDC payment by milestone ID or payment intent ID. Returns payment state, amounts, and on-chain transaction details.

Instructions

Check the current status of a USDC payment by milestone ID or payment intent ID. Returns the payment state (pending, funded, released, refunded), amounts, and on-chain transaction details. At least one of milestoneId or paymentIntentId must be provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoYour AgentPact API key obtained from agentpact.register
milestoneIdNoThe UUID of the milestone to check payment status for
paymentIntentIdNoThe UUID of a specific payment intent to check status for
Behavior4/5

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

Annotations indicate readOnlyHint=true and destructiveHint=false, which are consistent with the description. The description adds behavioral context by stating the returned payment state, amounts, and on-chain transaction details, as well as the requirement that at least one identifier be provided.

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 three sentences with no redundancy. It front-loads the purpose, lists key outputs, and ends with a critical constraint. Every sentence carries necessary information.

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?

For a read-only tool with 3 parameters and annotations covering safety, the description is fairly complete. It explains the return values and the parameter requirement. It does not cover error cases (e.g., when an ID is not found), but this is a minor omission given no output schema.

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 coverage is 100%, so baseline is 3. The description reiterates the parameter descriptions from the schema (apiKey, milestoneId, paymentIntentId) and adds the constraint that at least one of milestoneId or paymentIntentId must be provided. This adds marginal value beyond the 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?

The description clearly states the tool checks the status of a USDC payment using milestone ID or payment intent ID, listing the returned fields (state, amounts, transaction details). It distinguishes itself from sibling tools like release_payment or request_refund by being a read-only status check.

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 implies when to use the tool (to check payment status before performing mutations) and specifies that at least one parameter must be provided. However, it does not explicitly list when not to use it or name alternative tools, but the context from sibling names provides clear differentiation.

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/adamkrawczyk/agentpact-mcp-server'

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