Skip to main content
Glama

upi_handle_verify

Validates UPI ID (VPA) format before payment by checking localpart@server structure offline; confirms format only, not whether the account is live.

Instructions

Verify a UPI handle (VPA - Virtual Payment Address) such as name@paytm. Checks the format (localpart@server). Use when a user asks to validate a UPI ID before sending a payment. NOTE: this confirms format only; there is no reliable free way to confirm a VPA is linked to a live account.

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": "upi_handle_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
upi_idYesUPI ID / VPA to verify, e.g. name@paytm or user@oksbi.

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 supplied, the description carries the full burden and does disclose the most consequential behavior: it only confirms format and cannot confirm a live linked account. That caveat prevents an agent from over-promising validation results. It stops short of saying whether the check is purely local/offline or what it returns on malformed input.

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, each earning its place: the what, the usage trigger, and the critical limitation. The limitation is placed last and clearly flagged with 'NOTE', which is the right structural choice for a caveat that qualifies the whole tool.

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 validator this is close to complete: purpose, trigger, and the key non-guarantee are all present. The remaining omission is the return shape (boolean vs. message with a parse reason), which matters more here because there is no output schema to fall back on.

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% for the single parameter, so the schema already documents the UPI ID and gives example values. The description adds only the 'localpart@server' structural framing, which is marginal beyond what the parameter description provides. Baseline 3 applies 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.

Purpose5/5

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

States a specific verb and resource ('Verify a UPI handle (VPA)') and immediately disambiguates the acronym with 'Virtual Payment Address'. The second sentence narrows the operation to format checking ('localpart@server'), so an agent knows exactly what class of validation this is.

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?

'Use when a user asks to validate a UPI ID before sending a payment' gives a concrete triggering condition rather than leaving usage implied. There are no sibling tools to route against, so the absence of named alternatives is not a real gap; only an explicit 'do not use for X' clause is missing.

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

Deploy Server

Other Tools