Skip to main content
Glama

FMF Tools Business Docs

phone_validate

Phone number validation & formatting (batch 100) ($0.001 per call, paid via MPP on Tempo). Validate and normalize phone numbers for 240+ regions using Google libphonenumber metadata: valid/possible, E.164, country, calling code, line type (mobile, fixed_line, toll_free, voip, premium_rate...), international/national/RFC 3966 formats, extension. Up to 100 per call for the same price. No carrier or live-line lookup (no HLR); nothing stored. HTTP POST https://mpp-biz.fmf-x402.workers.dev/phone/validate. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
phoneNo
phonesNoup to 100
countryNodefault region for national-format numbers, ISO-3166 alpha-2 (US, CA, GB...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses per-call pricing ($0.001), that 100 numbers cost the same as one, the exact HTTP endpoint, the required payment authorization mechanism, that the wrapper does not itself settle payment, and that nothing is stored. It also pre-empts the most likely false assumption by ruling out HLR/live-line and carrier lookup.

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?

The capability statement and batching/price constraint are front-loaded, and the exclusions (no HLR, nothing stored) come after. It is dense but every sentence carries information; the parenthetical stacking in the line-type list and the trailing operational note make it slightly heavier than necessary.

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 3-parameter tool with no output schema, the description effectively enumerates the returned fields (valid/possible, E.164, country, calling code, line type, formats, extension) and covers cost and transport. The one substantive omission is the input contract: with zero required parameters, an agent is not told that it must supply either 'phone' or 'phones'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so some compensation is expected. The description adds real meaning beyond the schema for 'phones' by tying the 100-item cap to a flat price, and it clarifies the 240+ region scope that makes 'country' relevant as a default-region input. It does not resolve the relationship or precedence between 'phone' and 'phones' when both are absent or both supplied, and it never says a phone identifier is required despite zero required parameters.

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 opens with a specific verb+resource pair, 'Phone number validation & formatting', and enumerates the concrete outputs (valid/possible, E.164, country, calling code, line type, RFC 3966, extension). It is clearly distinct from an extraction tool like phone_extract, but it never names or explicitly contrasts with any sibling, so it stops short of the top mark.

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?

It gives a clear negative scope ('No carrier or live-line lookup (no HLR)') and explains the payment path: call with an MPP Payment Authorization header or use mppx against the HTTP route. It also states the batching economics ('Up to 100 per call for the same price'). What's missing is any explicit statement of when to prefer this over phone_extract, and it never says whether 'phone' or 'phones' should be supplied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources