Skip to main content
Glama

Fetch all payouts

fetch_all_payouts
Read-onlyIdempotent

Lists RazorpayX payouts for a bank account number, with date-range filters and pagination for read-only reconciliation.

Instructions

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.

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": {
      "account_number": "<account_number>"
    },
    "name": "fetch_all_payouts"
  }
}

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).
account_numberYesRazorpayX bank account number used for the payouts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the closing sentence 'Read-only Razorpay API call' merely restates structured data. The genuinely additive content is the disclosure that a missing RazorpayX enablement surfaces as a clean upstream error, but nothing is said about result ordering, pagination limits beyond the schema, or payload shape.

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?

Purpose is front-loaded in the first sentence and the error caveat follows logically. The final 'Read-only Razorpay API call' sentence is redundant with annotations and does not earn its place.

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 paginated list tool with fully documented parameters and no output schema, the description covers what the tool returns conceptually (payouts for one account) and one important failure mode. Only ordering/return-shape expectations are left unaddressed, a minor gap.

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%, including formats for from/to and bounds for skip/count, so the schema carries parameter semantics. The description only echoes account_number as the scoping key and adds no filter or time-window semantics beyond it; 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 and resource ('List RazorpayX payouts') plus the scoping dimension ('for a bank account number'), which lets an agent distinguish this collection-list call from the singular fetch_payout_by_id sibling. It does not explicitly name the alternative, so it stops short of 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 Guidelines3/5

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

Usage is only implied: the agent can infer 'use this to enumerate payouts for an account'. There is no explicit when-to-use vs fetch_payout_by_id, and no guidance on paginating with skip/count, but the RazorpayX-not-enabled caveat does tell the agent when an upstream error is expected.

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