Skip to main content
Glama
omilia

Omilia MCP Tools

Official
by omilia

search_numbers

Find phone numbers in the Omilia Cloud Platform using an optional search term to filter results.

Instructions

Search (phone) numbers with optional search term.

Args: search_term: Optional search term to filter numbers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_termNo

Implementation Reference

  • The MCP tool handler for 'search_numbers', decorated with @mcp.tool(). It instantiates IntegrationsClient and calls its search_numbers method to perform the actual search.
    @mcp.tool() def search_numbers(search_term: str | None = None) -> list[str]: """Search (phone) numbers with optional search term. Args: search_term: Optional search term to filter numbers """ client = IntegrationsClient() return client.search_numbers(search_term=search_term)
  • The supporting method in IntegrationsClient class that implements the core logic by calling the API endpoint 'integrations/api/numbers' with search parameters.
    def search_numbers(self, search_term: str | None = None, page_size: int = 100) -> dict: """Search numbers with optional search term. Args: search_term (str, optional): Search term to filter numbers. Case insensitive. Returns: dict: The numbers matching the search criteria """ endpoint = "integrations/api/numbers" params = {"pageSize": page_size, "searchTerm": search_term} return self.get(endpoint, params=params)

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/omilia/mcp'

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