Skip to main content
Glama

Fetch all payment links

fetch_all_payment_links
Read-onlyIdempotent

Lists Razorpay payment links with time, pagination, reference, payment, and UPI filters for read-only reconciliation and reporting. Returns amounts in minor units.

Instructions

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).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fetch_all_payment_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoInclusive end time. Unix seconds, ISO date/datetime, or a preset. Date-only values include the full UTC day.
fromNoInclusive start time. Unix seconds, ISO date/datetime, or a preset such as last_7_days, last_30_days, last_90_days, this_month.
skipNoNumber of records to skip.
countNoNumber of records to return (1-100).
fieldsNoOptional response field projection to reduce token payload size. `id` is always retained when present.
upi_linkNoFilter link type: true/1 for UPI links, false/0 for standard links.
payment_idNoFilter by associated payment id.
reference_idNoFilter by reference_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'Read-only Razorpay API call' is largely redundant. The genuinely additive disclosure is that amounts remain in minor units (paise for INR), a return-value nuance found nowhere in the schema or annotations. It could still say more about result volume/pagination behavior, but the unit caveat is real value.

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?

Three short sentences, front-loaded with purpose and filters, then the API-safety note, then the unit caveat. No filler and nothing buried.

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

Completeness4/5

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

For a read-only, fully-optional 8-param list tool with no output schema, the description covers purpose, filter scope, safety, and the amount-unit convention that would otherwise be invisible. Minor gaps remain around pagination/result-size expectations, but nothing essential for correct invocation is missing.

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 description coverage is 100% (every one of the 8 optional params is documented, including date presets and count bounds), so the schema carries the semantic load and baseline 3 applies. The description only names the filter families at a high level (time, pagination, reference, payment, UPI) without adding format or interaction details beyond the schema.

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 ('List') and resource ('Razorpay payment links') and enumerates the filter categories available (time, pagination, reference, payment, UPI). An agent can distinguish it from the singular 'fetch_payment_link' sibling by the 'all'/'list' framing, but the description never explicitly contrasts the two.

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

Usage Guidelines3/5

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

Usage is implied by 'List ... with ... filters' — this is the collection-retrieval tool. However, there is no explicit statement of when to prefer it over 'fetch_payment_link' or 'fetch_all_payments', and no 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.