Skip to main content
Glama

1Lookup

Validate phone number

validate_phone
Read-only

Validate a phone number: confirms it is real and active, and returns line type, carrier, DNC status, and a fraud/risk score. Spends 1 credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneYesPhone number in E.164 or national format
countryNoOptional ISO country code, e.g. US

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesWhat was looked up, and when
insightsNoThe detailed findings, grouped by theme
metadataNoCall metadata, including credit cost
classificationNoCategorical verdicts, e.g. line type or deliverability status
recommendationsNoSuggested action, with a plain-language summary
risk_assessmentNoFraud and risk scoring for this value

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate read-only, non-destructive behavior. The description adds non-obvious behavioral context beyond annotations: it spends 1 credit and returns specific attributes such as line type, carrier, DNC status, and fraud/risk score. This is useful operational transparency.

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?

The description is two short, information-dense sentences. It front-loads the primary action, then states the outputs and the credit cost. No filler or redundant restatement of the tool name.

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?

With an output schema present and annotations covering read-only safety, the description covers the essential behavior, return attributes, and cost. It lacks explicit routing to sibling tools like verify_email or bulk_verify, but this is a minor gap given the tool's simplicity.

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%, so the parameters 'phone' and 'country' are already well documented in the input schema. The description does not add parameter-level detail, so the baseline score of 3 is appropriate.

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 uses a specific verb and resource ('Validate a phone number') and defines what validation means: confirming it is real and active. It also lists distinctive outputs (line type, carrier, DNC status, fraud/risk score), which clearly differentiates it from email verification and IP lookup tools.

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 description gives clear context for when to use the tool: whenever a phone number needs to be checked for validity, activity, and associated metadata. It does not explicitly name alternatives or exclusions, so it misses the top score, but the intended use is unambiguous.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct resource or mode: single IP, phone, email, a batch operation, and account info. The bulk_verify tool is clearly differentiated from the single-item lookups by its batch scope.

Naming Consistency3/5

Most tools follow a verb_noun pattern like get_account, validate_phone, and verify_email, but ip_lookup reverses the order and bulk_verify uses a modifier before the verb. The mix of verify, validate, and lookup verbs is also slightly inconsistent.

Tool Count5/5

Five tools is a well-scoped set for a lookup/verification API: one account endpoint, three single-entity checks, and one bulk operation. Each tool has a clear purpose and none feel redundant.

Completeness5/5

The tool surface covers the core domain: phone, email, and IP verification are available both individually and via bulk_verify, and get_account supports operational planning around credits. No obvious dead ends or missing critical operations.

Resources