Skip to main content
Glama

Global - Phone Lookup (0.30 credits)

world_api_phone_lookup
Read-onlyIdempotent

Look up a phone number using its country code and national number to retrieve the line type and country for describing or validating the number.

Instructions

Phone-number lookup. Returns the line type and country for the number. Inputs: countryCode and phone. Use it to describe a phone number. Use the SMS or WhatsApp tools if you need to send a message instead. Costs 0.30 credits per successful call.

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

Input Schema

NameRequiredDescriptionDefault
phoneYesNational phone number without country code
countryCodeYesNumeric calling code, e.g. 57 for Colombia

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond them: the per-call cost of 0.30 credits, billed only on success, and the shape of the returned data. It does not mention rate limits or coverage gaps, but that is minor here.

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?

Four short sentences, front-loaded with the purpose and output, then inputs, then the alternative and cost. Nothing is wasted, though the 'Inputs:' enumeration largely duplicates the schema and could be trimmed.

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 simple two-parameter read tool with no output schema, the description supplies the essentials: what it returns, what it costs, and where to go for messaging. Only deeper coverage limits or the exact response fields are missing, which is acceptable at this complexity.

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 parameters documented in-schema (national number, numeric calling code with an example). The description only restates the parameter names, adding no format or validation detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('Phone-number lookup') and names the concrete output ('line type and country'), so an agent knows exactly what it gets back. It also distinguishes itself from the messaging siblings, though it does not differentiate from other lookup tools in the catalog.

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?

Gives a positive use case ('describe a phone number') and an explicit exclusion routing to the SMS/WhatsApp tools when the goal is messaging. There is no guidance on when a phone lookup is the right investigative step versus the identity/company lookups, but the when-not is clear.

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