Skip to main content
Glama

Fetch instant settlement

fetch_instant_settlement_with_id
Read-onlyIdempotent

Retrieve a single Razorpay instant settlement by ID for read-only reconciliation, with amounts returned in minor units (paise for INR).

Instructions

Retrieve one Razorpay instant settlement 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": {
      "settlement_id": "<settlement_id>"
    },
    "name": "fetch_instant_settlement_with_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
settlement_idYesInstant settlement id, e.g. setlod_...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so "Read-only Razorpay API call" largely repeats structured data. However, "Amounts remain in minor units (paise for INR)" is a genuinely useful, non-obvious disclosure about returned data that appears nowhere in the schema or annotations, and with no output schema it carries real weight.

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?

Three short sentences, front-loaded with the core action and ending on the minor-units caveat. The only waste is the middle sentence restating read-only behavior already covered by annotations.

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 one-parameter, closed-world read tool this covers the essentials: what is fetched, that it is safe and idempotent, and how amounts are denominated. It omits response shape (no output schema exists) and error behavior for an unknown or malformed id, plus the instant-vs-regular settlement distinction.

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%: the single settlement_id parameter is documented with a regex pattern and an example (setlod_...). The description adds no additional meaning about the identifier or its format, so the schema does all the work and 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: "Retrieve one Razorpay instant settlement by id." An agent can tell it fetches a single instant settlement, but the description never distinguishes it from the near-identical sibling fetch_settlement_with_id (non-instant settlements), which is the main ambiguity risk.

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?

No explicit when-to-use or when-not-to-use guidance. With a sibling named fetch_settlement_with_id and another named fetch_all_instant_settlements, the definition gives no rule for choosing among single-instant-settlement, single-settlement, and list variants, leaving routing to inference from names alone.

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