Skip to main content
Glama
mcp-server-razorpay

mcp-server-razorpay

by bugmagnet28

Fetch Payment Link

fetch_payment_link

Retrieve a Razorpay payment link by its ID to view its details and status for sharing, tracking, or reconciliation.

Instructions

Fetch details of a Razorpay payment link by its ID.

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": {
      "payment_link_id": "<payment_link_id>"
    },
    "name": "fetch_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_link_idYesPayment Link ID (e.g. plink_xxxxxx)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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. It conveys that this is a read-only lookup, but says nothing about what happens with an invalid or expired link ID, whether linking/deactivated links are still returned, or any auth/rate-limit constraints.

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?

A single front-loaded sentence with the verb first and no wasted wording. It is efficient, though its brevity is partly the source of the gaps in usage and behavioral detail.

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?

Complexity is low (one required string), which keeps the bar modest, but with no output schema the description should still sketch what 'details' are returned and what failure looks like. As written, an agent knows what to send but not what to expect back.

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% and the single parameter already documents the expected 'plink_xxxxxx' format. The description's 'by its ID' merely restates the required parameter rather than adding syntax, validation, or fallback meaning, so baseline 3 applies.

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?

States a specific verb ('Fetch') and resource ('details of a Razorpay payment link') plus the scoping key ('by its ID'). This is readily distinguishable from create_payment_link and deactivate_payment_link by the verb, and from fetch_payment by the resource, though the description never names those siblings.

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 explicit when-to-use or when-not-to-use guidance, and no pointer to alternatives such as list_payments or fetch_payment. The only hint is the implicit prerequisite in 'by its ID', which implies you must already hold a link ID.

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