Skip to main content
Glama

didlogic_mcp

list_country_cities_in_region

Retrieve a list of cities within a specific region of a country where DID (Direct Inward Dialing) numbers are available. Filter results to include SMS-enabled DIDs and obtain details like city ID, name, area code, and available DID count.

Instructions

List of Cities with available DID in a region of a country

Args: country_id: ID of country for search region_id: ID of region in a country sms_enabled: search for DID with SMS functionality

Returns a JSON object with available cities for purchase DIDs. Returned cities list have following fields: id: ID of city name: Name of city in DIDLogic area_code: Area code within country count: count of available DIDs for purchasing

403 error indicates disabled API calls for purchase.

Example:

{ "cities": [ { "id": 118557, "name": "Ottawa-Hull, ON", "area_code": "613800", "count": 81 } ] }

Input Schema

NameRequiredDescriptionDefault
country_idYesCountry ID
region_idYesRegion ID
sms_enabledNoFilter for sms enabled numbers

Input Schema (JSON Schema)

{ "properties": { "country_id": { "description": "Country ID", "title": "Country Id", "type": "integer" }, "region_id": { "description": "Region ID", "title": "Region Id", "type": "integer" }, "sms_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Filter for sms enabled numbers", "title": "Sms Enabled" } }, "required": [ "country_id", "region_id" ], "title": "list_country_cities_in_regionArguments", "type": "object" }

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/UserAd/didlogic_mcp'

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