Skip to main content
Glama

didlogic_mcp

list_country_cities

Retrieve a list of cities with available DIDs for purchase in a specific country. Filter by SMS functionality and access city details including ID, name, area code, and DID count.

Instructions

List of Cities with available DID for purchase in a country

Args: country_id: ID of country for search 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
sms_enabledNoFilter for sms enabled numbers

Input Schema (JSON Schema)

{ "properties": { "country_id": { "description": "Country ID", "title": "Country Id", "type": "integer" }, "sms_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Filter for sms enabled numbers", "title": "Sms Enabled" } }, "required": [ "country_id" ], "title": "list_country_citiesArguments", "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