Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FreeDailyPro Tools. If you published it, claim ownership there.

validate_phone

Read-onlyIdempotent

Validate and format a phone number. Uses Google's libphonenumber rules. Returns validity, country, the E.164, national and international formats, and the line type (mobile, fixed line and others). It does not call the number. Nothing is stored.

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": {
      "phone": "<phone>"
    },
    "name": "validate_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesA phone number, with + and country code or a national number, for example +14155552671.
defaultCountryNoTwo-letter ISO 3166 country code used when the number has no + prefix, for example US.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / defaultCountry / description
      Added value: +"Two-letter ISO 3166 country code used when the number has no + prefix, for example US."
    • addedInput schema / properties / phone / description
      Added value: +"A phone number, with + and country code or a national number, for example +14155552671."
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value on top: it names the rule engine (Google libphonenumber, implying deterministic offline behavior), states it does not call the number, and states nothing is stored, resolving the two obvious agent concerns about side effects and network access.

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?

Five short sentences, front-loaded with purpose, then implementation source, then return values, then scope boundaries. Every sentence contributes information an agent would otherwise have to guess at.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description fully compensates by enumerating the returned fields: validity, country, E.164, national and international formats, and line type. Combined with the scope statements, an agent has everything needed to call it and interpret the result.

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%, with both 'phone' and 'defaultCountry' documented in the schema including examples and the ISO format requirement. The description adds no parameter-level meaning beyond that, so the baseline score of 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?

The description opens with a specific verb-plus-resource: 'Validate and format a phone number.' The resource is unambiguous and distinct from every sibling validator (IBAN, VIN, BIC, email), and the mention of the underlying libphonenumber rules further pins down 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 Guidelines3/5

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

Usage is only implied: the tool validates and formats rather than verifies reachability, and 'It does not call the number' sets that boundary. However, there is no explicit when-to-use guidance, no mention of when the defaultCountry parameter matters, and no routing to alternatives such as validate_email for other data types.

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