Skip to main content
Glama

List number search regions

list_number_regions
Read-onlyIdempotent

List US state and Canadian province codes supported by number searches.

    Returns ``regions`` containing ``country_code``, ``code`` and ``name``.
    These codes identify the optional region filter for a city search.
    An upstream failure returns an error.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_number_regions"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  2. Changed4 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "NumberRegion": {
      +    "properties": {
      +      "code": {
      +        "description": "Two-letter state or province code, such as AZ. Send it as region.",
      +        "title": "Code",
      +        "type": "string"
      +      },
      +      "country_code": {
      +        "description": "ISO alpha-2 country code: US or CA.",
      +        "title": "Country Code",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "State or province name, such as Arizona.",
      +        "title": "Name",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "country_code",
      +      "code",
      +      "name"
      +    ],
      +    "title": "NumberRegion",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "regions": {
      +        "description": "Every state and province the number search accepts as region.",
      +        "items": {
      +          "$ref": "#/$defs/NumberRegion"
      +        },
      +        "title": "Regions",
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "regions"
      +    ],
      +    "title": "NumberRegionsResponse",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"list_number_regions_toolDictOutput"
  3. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds the failure-mode behavior ('An upstream failure returns an error') and confirms the tool consumes no filtering arguments. It doesn't mention ordering, volume, or static-vs-dynamic nature of the list, which would be the remaining useful disclosures.

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, with purpose first and the usage tie-in second, so it is well front-loaded. The backtick-formatted field listing is slightly noisy but each sentence carries 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?

For a zero-required-parameter read-only lookup with a rich output schema and full annotations, the description covers purpose, output meaning, downstream use, and error behavior. Only the static nature of the region list and any ordering guarantees are unaddressed.

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?

There is only one optional parameter (llm_model) and schema description coverage is 100%, so the schema already explains it as analytics metadata. The description adds nothing about that parameter, which is acceptable here since it is not functionally relevant to the tool's output.

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?

States a specific verb and resource — list US state and Canadian province codes supported by number searches — and names the exact fields returned (country_code, code, name). An agent can distinguish this from sibling list_* tools without opening the schema.

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 sentence 'These codes identify the optional region filter for a city search' tells the agent why it would call this tool and where the output feeds in, which is clear contextual guidance. It stops short of explicit when-not guidance or naming a concrete alternative caller, so it is one notch below the top.

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.