Skip to main content
Glama
India Stack MCP
by PriyuK

Validate UPI ID

validate_upi_id

Checks a UPI ID's format offline and identifies the app or bank behind its handle; it does not confirm whether the ID exists.

Instructions

Check a UPI ID's format offline and name the app or bank behind its handle. Does not confirm the ID exists.

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": {
      "upi_id": "<upi_id>"
    },
    "name": "validate_upi_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
upi_idYesUPI ID, e.g. priya@okaxis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that validation is offline (no network call), that the response includes the resolved app/bank name, and that existence is not verified. It leaves out what happens on a malformed input (error vs. invalid flag), which is the main remaining gap.

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?

Two tight sentences, with the primary action front-loaded and the limitation immediately after. No redundant restatement of the title or filler.

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 tool with no output schema, the description covers action, scope, returned information, and the key limitation. Only the invalid-input behavior is unstated, which is minor for a format checker.

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?

Only one parameter exists and schema coverage is 100% with an inline example ('priya@okaxis'), so the schema already defines the input fully. The description adds no syntax rules or edge cases for the parameter, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Check a UPI ID's format') and adds the secondary output ('name the app or bank behind its handle'). The resource itself distinguishes it from the sibling validators (GSTIN, PAN, IFSC), so an agent can route correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The phrase 'offline' and the explicit boundary 'Does not confirm the ID exists' tell the agent when this tool is appropriate (format/syntax checking) and when it is not (verifying a real account). It stops short of naming an alternative for existence checks, but no such sibling is in scope.

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