Skip to main content
Glama
mcp-server-razorpay

mcp-server-razorpay

by bugmagnet28

Create Order

create_order

Creates a Razorpay order using the specified amount in paise, with optional currency, receipt, and notes, to initiate payment collection.

Instructions

Create a new Razorpay order. Amount must be in paise (e.g. 50000 = ₹500).

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_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoKey-value notes (max 15 pairs)
amountYesAmount in paise
receiptNoReceipt ID for your reference
currencyNoCurrency code e.g. INRINR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 disclosure burden for a financial mutation. It states the amount unit but says nothing about side effects, idempotency (e.g. receipt reuse), what the created order returns, or how long an order remains valid for capture — all material for an agent calling this.

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?

Two sentences, both front-loaded and free of filler. The critical constraint (paise units) is called out immediately after the purpose statement rather than buried.

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

Completeness3/5

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

The input schema is fully described, so an agent can construct a valid call, and no output schema exists to explain. However, for a payment-order creation tool with no annotations, the description omits what the response yields (an order id consumed by downstream payment/capture tools) and any auth or lifecycle context.

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 all four parameters are already documented, which sets the baseline at 3. The description does add a concrete illustration ('50000 = ₹500') that reduces unit-conversion errors on amount, but says nothing extra about currency, receipt, 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 gives a specific verb and resource ('Create a new Razorpay order'), which clearly separates it from siblings like fetch_order, list_orders, or create_payment_link. It stops short of explicitly naming when a caller should prefer this over an alternative creation tool, but the resource is unambiguous.

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 create an order versus using create_payment_link or create_payment directly, and no stated prerequisites such as required API credentials or account mode. The only usage-shaped instruction is the unit convention for amount.

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