Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAYTM_MIDYesYour Paytm Merchant ID
PAYTM_KEY_SECRETYesYour Paytm Key Secret

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_payment_link
Create a new payment link for receiving payments.

This operation generates a unique payment link that can be shared with customers
for accepting payments. The link can be customized with recipient details,
purpose, customer details and amount.

Required Parameters:
    recipient_name (str): Name of the person or entity receiving the payment
    purpose (str): Description or reason for the payment
    customer_email (str): Email address of the customer
    customer_mobile (str): Mobile number of the customer
    Either customer_email or customer_mobile must be provided if else please ask from the user

Optional Parameters:
    amount (float): Fixed amount for the payment

Note:
    - Amount can be left optional for customer to decide
    - Generated link will be valid according to system's expiry settings
    - Please ask all the required fields from the user don't assume any fields

IMPORTANT NOTE:
    - if user is not providing customer_email or customer_mobile, please ask for the same don't call any tool before asking for the same
    
fetch_payment_links
Retrieve all payment links created by the merchant.

This operation returns a comprehensive list of all payment links created,
including both active and expired links. Each link entry contains details
such as:
    - Link ID
    - Link Name
    - Short URL
    - Status
    - Creation Date
    - Expiry Date

Returns:
    List[PaymentLink]: A list of PaymentLink objects containing link details
    str: Error message in case of failure
fetch_transactions_for_link
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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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