Skip to main content
Glama
mcp-server-razorpay

mcp-server-razorpay

by bugmagnet28

Create Payment Link

create_payment_link

Generate a shareable Razorpay payment link for a customer with a specified amount in paise, optionally sending it via SMS or email and setting an expiry.

Instructions

Create a shareable Razorpay payment link for a customer. Amount in paise.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>"
    },
    "name": "create_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
amountYesAmount in paise
currencyNoINR
customerNo
send_smsNoSend payment link via SMS
expire_byNoUnix timestamp for link expiry
send_emailNoSend payment link via email
descriptionNoPayment purpose description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It reveals only that the link is shareable and that amounts are in paise, but says nothing about whether the link is reusable, what the expiry default is, whether send_sms/send_email trigger real notifications to the customer, or what permissions/auth are required for a mutation.

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?

Two short sentences with no filler, and the core action is front-loaded. It is lean to the point of under-specification, but nothing is redundant or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with a nested customer object, no annotations, and no output schema, the description is too thin. It omits what the tool returns (presumably a link URL), notification side effects, and expiry behavior, leaving the agent to infer a lot before calling it.

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

Parameters2/5

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

Schema description coverage is 63% across 8 parameters, so the schema already documents amount, currency, send_sms, send_email, expire_by, and description. The description's only parameter claim ('Amount in paise') duplicates the schema's own text for amount, adding no meaning for the nested customer object or notes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Create a shareable Razorpay payment link') and names the target entity ('for a customer'), so an agent knows exactly what is produced. It does not explicitly contrast with siblings such as create_order or create_subscription, which is why this is a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use a payment link versus create_order, create_subscription, or create_customer. The only hint is 'shareable', which implies sending a link to a payer, but no conditions, prerequisites, or exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.