Skip to main content
Glama

Fetch all instant settlements

fetch_all_instant_settlements
Read-onlyIdempotent

Retrieve Razorpay instant settlements by date range with pagination, optional payout detail expansion, and field projection for reconciliation.

Instructions

List Razorpay instant settlements, optionally expanding payout details. 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_instant_settlements"
  }
}

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).
expandNoOptional Razorpay expand[] flags.
fieldsNoOptional response field projection to reduce token payload size. `id` is always retained when present.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotent, non-destructive), so the bar is lower. The description still adds two genuinely useful non-annotation facts: that expand pulls in payout details and that amounts stay in minor units (paise for INR) — a non-obvious data-shape detail. It omits pagination/response-shape behavior, which keeps 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short, front-loaded sentences with the resource named first and no filler. 'Read-only Razorpay API call' is somewhat redundant with readOnlyHint, a minor waste of a sentence.

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?

With six optional parameters, no output schema, and full schema coverage, the critical gap is what the call returns — a paginated list with a default count of 25 capped at 100, and how skip interacts with it. The units note partially compensates for the missing output schema, but the description stops short of being complete for a paginated list endpoint.

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%, so the schema already documents from/to presets, skip/count bounds, expand enum, and fields projection in detail. The description only gestures at 'expand' via 'optionally expanding payout details' and adds no syntax or format meaning beyond the schema, so the 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?

The description states a specific verb and resource ('List Razorpay instant settlements') and notes the optional expand capability. It implicitly separates this from the generic settlements sibling by naming 'instant settlements', but never explicitly contrasts with fetch_all_settlements or fetch_instant_settlement_with_id.

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 by the tool's name and the word 'List' — there is no statement of when to use this versus fetch_all_settlements or the single-record fetch_instant_settlement_with_id. No prerequisites, exclusions, or alternative routing are given, so the agent must infer the distinction from sibling names alone.

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