Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RAZORPAY_KEY_IDNoRazorpay API key ID used for standalone API-key authentication.
RAZORPAY_KEY_SECRETNoRazorpay API key secret used for standalone API-key authentication.
RAZORPAY_ACCESS_TOKENNoRazorpay Partner OAuth access token used to authenticate the MCP server when using OAuth.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

SW RDC: read-only revenue data connector (Razorpay provider v1). Every tool performs a single GET request (or a bounded sequence of GETs for pagination/rollups); no write or mutation tools exist. Amounts are integer minor units (paise for INR) and include _major display companions. Customer emails and contacts are masked by default. Prefer summarize_razorpay_resource for questions that need totals, counts, grouping, or trends instead of pulling many raw rows into context.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_paymentA

Retrieve one Razorpay payment by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_paymentsA

List Razorpay payments with time, pagination, status, method, and expand filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_payment_card_detailsA

Retrieve safe card metadata for a card payment. Card tokens, fingerprints, and full card numbers are always stripped. Read-only Razorpay API call.

fetch_orderA

Retrieve one Razorpay order by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_ordersA

List Razorpay orders with time, pagination, authorization, receipt, and expand filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_order_paymentsA

List all payments made for one Razorpay order. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_refundA

Retrieve one Razorpay refund by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_refundsA

List Razorpay refunds with time and pagination filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_multiple_refunds_for_paymentA

List refunds created for one payment. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_specific_refund_for_paymentA

Retrieve one refund belonging to a specific payment. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_settlementsA

List Razorpay settlements with time and pagination filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_settlement_with_idA

Retrieve one Razorpay settlement by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_settlement_recon_detailsB

Fetch Razorpay combined settlement reconciliation records for a year/month/day. This endpoint supports count up to 1000. Read-only Razorpay API call.

fetch_all_instant_settlementsA

List Razorpay instant settlements, optionally expanding payout details. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_instant_settlement_with_idA

Retrieve one Razorpay instant settlement by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_payoutsA

List RazorpayX payouts for a bank account number. If RazorpayX is not enabled on the merchant account, Razorpay returns an upstream error that is surfaced cleanly. Read-only Razorpay API call.

fetch_payout_by_idA

Retrieve one RazorpayX payout by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_payment_linksA

List Razorpay payment links with time, pagination, reference, payment, and UPI filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_payment_linkA

Retrieve one Razorpay payment link by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_qr_codesA

List Razorpay QR codes with time and pagination filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_qr_codeA

Retrieve one Razorpay QR code by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_payments_for_qr_codeA

List payments made on one Razorpay QR code. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_customersA

List Razorpay customers. Email and contact are masked by default as email_masked/contact_masked. Read-only Razorpay API call.

fetch_customerA

Retrieve one Razorpay customer. Email and contact are masked by default. Read-only Razorpay API call.

fetch_all_subscriptionsB

List Razorpay subscriptions with optional plan filter. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_subscriptionA

Retrieve one Razorpay subscription by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_plansA

List Razorpay subscription plans. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_planA

Retrieve one Razorpay subscription plan by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_invoicesA

List Razorpay invoices with payment, customer, subscription, and type filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_invoiceA

Retrieve one Razorpay invoice by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_all_disputesA

List Razorpay disputes with time and pagination filters. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

fetch_disputeA

Retrieve one Razorpay dispute by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

summarize_razorpay_resourceA

Stream Razorpay pages, aggregate them in memory, and return grouped counts/sums/min/max without storing or returning raw transaction rows. Supports payments, orders, refunds, settlements, settlement reconciliation, subscriptions, invoices, disputes, and customers.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 33 tools

Disambiguation3/5

Most tools target distinct Razorpay resources, but several refund/payment/settlement tools overlap in practice: fetch_refund, fetch_all_refunds, fetch_multiple_refunds_for_payment, and fetch_specific_refund_for_payment are easy to confuse. Descriptions generally clarify the differences, but an agent must carefully choose between general and scoped list/get variants.

Naming Consistency3/5

All names are snake_case and use a fetch_ prefix, but the patterns vary: fetch_all_X, fetch_X, fetch_Xs_for_Y, fetch_X_with_id, and fetch_X_by_id. The conventions are readable but not fully predictable, especially across list/get and scoped-list tools.

Tool Count3/5

The 33 tools cover many Razorpay resources, so the breadth is somewhat justified, but the surface is heavy and includes numerous paired list/get and scoped-list endpoints. It is broader than a typical well-scoped tool set and could likely be consolidated without losing coverage.

Completeness4/5

The surface provides broad read-only coverage across payments, orders, refunds, settlements, payouts, subscriptions, invoices, disputes, customers, QR codes, and payment links. Minor read gaps exist, but the main lifecycle for a read-only Razorpay connector is well covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues