Skip to main content
Glama

FMF Tools Business Docs

phone_extract

Find & normalize phone numbers in text ($0.001 per call, paid via MPP on Tempo). Extract every phone number from free text (emails, pages, OCR output) with positions, validity, E.164, country, line type and formats. HTTP POST https://mpp-biz.fmf-x402.workers.dev/phone/extract. 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

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": {
      "text": "<text>"
    },
    "name": "phone_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesup to 100 KB
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses per-call pricing ($0.001), the payment rail (MPP on Tempo), that this MCP wrapper does not settle payment itself, and the required Payment Authorization header. It omits failure modes (insufficient payment, oversized input beyond the 100 KB cap) and rate limits, which keeps it from a 5.

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 core capability and output fields are front-loaded, and the pricing plus payment instructions are packed into the same few sentences without padding. There is mild redundancy between 'Find & normalize phone numbers in text' and 'Extract every phone number', but overall it is dense and earns its length.

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 no output schema and no annotations, the description compensates well by listing the returned fields, the endpoint, the price, and the auth mechanism. The one material hole is the undocumented 'country' input, which is a real gap for a two-parameter tool but not a fatal one.

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

Parameters2/5

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

Schema coverage is only 50%: 'text' is documented in the schema with its 100 KB cap, but the 'country' input parameter is described nowhere. Worse, the description mentions 'country' only as an output field, which can lead an agent to mistake it for something returned rather than something passed in.

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 states a specific verb and resource ('Extract every phone number from free text') and even enumerates the returned fields (positions, validity, E.164, country, line type, formats). It stops short of explicitly distinguishing itself from the sibling phone_validate, which an agent would have to infer from the presence of 'validity' in the output list.

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?

It names suitable input sources (emails, pages, OCR output), which implies when the tool applies. However, it gives no when-not guidance and never routes the agent to phone_validate for checking a single known number, so the boundary with the closest sibling is left to inference.

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