Skip to main content
Glama

fetch_transactions_for_link

Retrieve all transactions for a specific payment link, including successful and failed ones, with details like ID, amount, and status.

Instructions

Retrieve all transactions associated with a specific payment link.

This operation provides detailed transaction history for a given payment link,
including successful and failed transactions.

Parameters:
    link_id (str): Unique identifier of the payment link

Returns:
    List[Transaction]: List of transactions containing details such as:
        - Transaction ID
        - Order ID
        - Amount
        - Status
        - Completion Time
        - Customer Contact Information
    str: Error message in case of failure

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
link_idYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that both successful and failed transactions are included, and the return format includes an error message. It does not mention authentication or rate limits, but for a simple read operation, this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with separate Parameters and Returns sections. It is not overly verbose, but the bullet list could be condensed. Front-loaded with the primary action.

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 a simple tool with 1 parameter and no output schema, the description covers the return fields and error case. It does not mention pagination or ordering, but for a small transaction list, this is acceptable. Sibling tools are listed but not cross-referenced.

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?

With 0% schema coverage, the description must add meaning. It explains link_id as 'Unique identifier of the payment link', which adds a bit beyond the schema's type and title, but does not provide sourcing or format guidance.

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 verb 'Retrieve' and resource 'transactions associated with a specific payment link'. It distinguishes from siblings: create_payment_link creates links, fetch_payment_links retrieves links, while this tool retrieves transactions for a given link.

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?

The description implies usage when needing transaction history for a payment link but does not explicitly state when to use vs alternatives. No exclusions or when-not-to-use guidance is provided.

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/santosh-chourasiya/payment-mcp-server'

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