Skip to main content
Glama

Fetch all QR codes

fetch_all_qr_codes
Read-onlyIdempotent

List Razorpay QR codes with time and pagination filters to review payment activity through read-only API calls; amounts remain in minor units.

Instructions

List Razorpay QR codes with time and pagination 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_qr_codes"
  }
}

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.

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, idempotentHint, destructiveHint=false and closed-world scope, so 'Read-only Razorpay API call' adds nothing new. The genuinely additive sentence is the minor-units caveat (amounts in paise for INR), which prevents a real misinterpretation. Return ordering, page-loop semantics and rate limits are still unstated.

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 no filler; the resource and filter scope come first, the currency caveat last. Minor waste in restating the read-only nature already carried 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?

Five optional parameters are fully documented in the schema and annotations carry the safety profile, so the description only needs to frame the call. It does that and adds the minor-units warning, though it says nothing about result ordering or how pagination should be driven across pages.

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 detailed from/to formats, presets, skip/count bounds and the fields projection, so the baseline is 3. The description only characterises the parameters as 'time and pagination filters' and adds no syntax or semantics 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?

The description uses a specific verb ('List') and resource ('Razorpay QR codes') and names the filter categories (time and pagination). It is clear what the tool returns, but it never contrasts itself with the singular sibling fetch_qr_code or with fetch_payments_for_qr_code, so disambiguation is left to the agent.

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: 'List ... with time and pagination filters' suggests bulk retrieval, which a competent agent can map against the singular fetch_qr_code. There is no explicit guidance on when to prefer this over the per-QR-code or payments-for-QR-code siblings, and no prerequisites or exclusion conditions.

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