Skip to main content
Glama

steadyline/phone-number-validator

steadyline--phone-number-validator
Destructive

This tool calls the Actor "steadyline/phone-number-validator" and retrieves its output results. Actor description: Validate and format phone numbers in bulk, 100% offline with Google's libphonenumber: valid or not, E.164, international, national and RFC 3966 formats, country, calling code, number type and extension. Handles messy input. $0.50 per 1,000 numbers. By Steadyline Data.

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": {
      "phoneNumbers": "<phoneNumbers>"
    },
    "name": "steadyline--phone-number-validator"
  }
}

Input Schema

NameRequiredDescriptionDefault
dedupeNoDrop later copies of the same number (same E.164 and extension, or the same digits when the number is invalid). Duplicates are never charged. Turn off to keep every row; later copies are still free. Example values: true
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
phoneNumbersYes**REQUIRED** Phone numbers in any common form: E.164, national, with spaces or parentheses, leading 00/011, tel: URIs, vanity letters (1-800-FLOWERS) and extensions (ext. 12, x12). National numbers need Default country. Example values: ["+1 650 253 0000","(650) 253-0000","+44 20 7183 8750","+49 30 39405430","+91 98765 43210","1-800-FLOWERS","+1 650 253 0000 ext. 12","00442071838750","not-a-number"]
defaultCountryNoISO 3166-1 alpha-2 country code (US, GB, DE, IN, …) used when a number is not in international format. Ignored for numbers that already start with + or 00. Example values: "US"

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Added value: +{
      +  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      +  "properties": {
      +    "charged": {
      +      "type": "boolean"
      +    },
      +    "checkedAt": {
      +      "type": "string"
      +    },
      +    "country": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "countryCallingCode": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "duplicate": {
      +      "type": "boolean"
      +    },
      +    "e164": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "error": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "extension": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "input": {
      +      "type": "string"
      +    },
      +    "international": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "isPossible": {
      +      "type": "boolean"
      +    },
      +    "isValid": {
      +      "type": "boolean"
      +    },
      +    "national": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "nationalNumber": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "rfc3966": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "type": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Removed value: -{
      -  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      -  "properties": {
      -    "charged": {
      -      "type": "boolean"
      -    },
      -    "checkedAt": {
      -      "type": "string"
      -    },
      -    "country": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "countryCallingCode": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "duplicate": {
      -      "type": "boolean"
      -    },
      -    "e164": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "error": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "extension": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "input": {
      -      "type": "string"
      -    },
      -    "international": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "isPossible": {
      -      "type": "boolean"
      -    },
      -    "isValid": {
      -      "type": "boolean"
      -    },
      -    "national": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "nationalNumber": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "rfc3966": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    },
      -    "type": {
      -      "type": [
      -        "null",
      -        "string"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description adds genuinely useful behavior beyond the annotations: it is fully offline, handles messy input, and costs $0.50 per 1,000 numbers, which lets an agent reason about cost before calling. However, the annotations declare destructiveHint=true and openWorldHint=true, and the description never addresses why an offline validator would be destructive, nor does it explain the async run lifecycle (the first sentence implies a run is started and results retrieved, and waitSecs in the schema covers the wait cap). No direct contradiction, but the tension with destructiveHint is left unexplained.

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?

It is compact and front-loads the actor-invocation framing before the substantive capability sentence. The opening 'This tool calls the Actor ... and retrieves its output results' is boilerplate wrapper text that earns little, but the rest is dense and waste-free.

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?

An output schema exists, so return values need not be explained; the description still usefully lists them. Cost, offline nature and messy-input tolerance are covered, which is the right level of detail for a delegating wrapper tool. Only the missing when-to-use guidance and any note on run polling keep it below a 5.

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 schema already fully documents phoneNumbers, dedupe, defaultCountry and waitSecs including formats, dedupe charging rules and the wait cap. The description adds nothing parameter-specific, so the baseline 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 gives a specific verb+resource combination: bulk validation and formatting of phone numbers using libphonenumber, with the returned fields enumerated (valid flag, E.164, international, national, RFC 3966, country, calling code, type, extension). That is far more specific than the tool name alone and cannot be confused with any sibling, which all handle different data (reviews, jobs, domains, emails, screenshots).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The word 'bulk' hints at batching, but there is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. An agent gets no routing guidance at all beyond the resource name.

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