Skip to main content
Glama
riv-lc

areacode-mcp

by riv-lc

Look up a number's carrier (assigned block)

lookup_carrier

Identify the carrier, line type (wireless/landline), and rate center assigned to a US/Canada phone number's NPA-NXX block.

Instructions

Look up the carrier, line type (wireless/landline), and rate center that a US/Canada number's NPA-NXX block was assigned to. Based on public block-allocation data — NOT a live lookup: if the number was ported the current carrier differs, and coverage currently spans major metros (uncovered area codes return covered:false). Not for caller identity, fraud, or FCRA decisions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesA US/Canada phone number, e.g. "212-555-0143".
Behavior4/5

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

With no annotations, the description takes full responsibility for behavioral disclosure. It reveals that data is from public block allocation, not live, and coverage is limited to major metros with uncovered areas returning covered:false. It also notes that ported numbers may yield incorrect current carriers.

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 concise and front-loaded, with only four sentences that efficiently convey the action, data source, limitations, and disclaimers. No filler or redundant information.

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?

The description adequately covers input, output fields (carrier, line type, rate center, covered), and limitations in the absence of an output schema. It could mention the output format explicitly, but the provided details are sufficient for an agent to understand what to expect.

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?

The schema describes the single parameter 'number' with an example format, achieving 100% coverage. The tool description adds context about the number being US/Canada and the rate center lookup, but does not add significant meaning beyond the schema. 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 clearly states the tool's purpose: looking up carrier, line type, and rate center for US/Canada phone numbers based on assigned NPA-NXX blocks. It distinguishes itself from sibling tools like lookup_phone_number, check_number_reputation, etc., by specifying its unique functionality.

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 provides clear usage guidance: it's based on block-allocation data, not a live lookup, and warns about ported numbers and coverage limitations. It explicitly states what it is not for (caller identity, fraud, FCRA decisions), helping agents avoid misuse.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/riv-lc/areacode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server