Skip to main content
Glama

Fetch payout

fetch_payout_by_id
Read-onlyIdempotent

Retrieve a single RazorpayX payout by its payout ID for read-only lookup and reconciliation. Returns payout details with amounts kept in minor units (paise for INR).

Instructions

Retrieve one RazorpayX payout by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).

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": {
      "payout_id": "<payout_id>"
    },
    "name": "fetch_payout_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
payout_idYesPayout id, e.g. pout_...

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, non-destructive and closed-world, so the safety profile is covered. The description adds meaningful context beyond that: it identifies the underlying RazorpayX API surface and warns that amounts stay in minor units (paise for INR), which prevents a common unit misinterpretation. It does not describe the response shape or not-found behavior, keeping it below a 5.

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 the verb and resource, then the operation's safety nature, then the one non-obvious output caveat. No filler and nothing repeated from the title or schema.

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 single-parameter, fully annotated read tool with no output schema, the description covers purpose, read-only nature, API family, and the unit convention that would otherwise mislead an agent. Only the not-found/error behavior and a hint at returned fields are missing, which is minor at this complexity.

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 schema itself documents payout_id with a pout_ pattern and example, so the description adds no syntax or format detail beyond it. The only relevant addition, the paise unit convention, concerns return values rather than the parameter. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ("Retrieve one RazorpayX payout by id"), and the singular "one ... by id" scope implicitly distinguishes it from the list sibling fetch_all_payouts. It stops short of naming any alternative explicitly, so it lands just below the top.

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: an agent can infer it should call this when it already holds a payout id rather than listing. There is no stated when-not condition, no reference to fetch_all_payouts for discovery, and no prerequisite or error-path guidance.

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