Skip to main content
Glama

didlogic_mcp

get_call_history

Retrieve detailed call history from DIDlogic by filtering parameters like call type, date range, or specific numbers. Returns JSON with call details, timestamps, durations, and pagination for efficient data management.

Instructions

Query Call history in DIDlogic

Args: call_type: Type of call history items where: sip = outbound sip calls incoming = inbound calls to DID from_date: Date to search from, should be in YYYY-MM-DD format to_date: Date to search to, should be in YYYY-MM-DD format number: Number to search for incoming calls sip_account: SIP account name to search for outbound calls from_search: Number from whom was the call to_search: Number to what was the call page: page of result starting with 1 per_page: how many results should be on per page

Returns a JSON object with a call history results where: calls: array of call history objects where: timestamp: date of the call type: call type where: sip = outbound sip call incoming = inbound call to DID amount: charge for this call in USD duration: duration of call in seconds from: from number for this call to: to number which this call was made destination_name: destination network name for this call sip_account: SIP account name for outbound SIP calls pagination: Pagination details for results page: current page of results per_page: results per page total_pages: total pages results total_records: total query records (maximum 5000)

Example response:

{ "calls": [ { "timestamp": "2024-11-20T13:29:19Z", "type": "sip", "amount": 0.02, "duration": 0, "from": """ <1212123123>", "to": "1555123123", "destination_name": "United States - NOT EXISTED", "sip_account": "12345" } ], "pagination": { "page": 1, "per_page": 100, "total_pages": 50, "total_records": 5000 } }

Input Schema

NameRequiredDescriptionDefault
call_typeNoType of call, can be sip or incoming
from_dateYesFrom date in format YYYY-MM-DD
from_searchNoFrom number search, E164 format
numberNoNumber for search, E164 format
pageNoresults page
per_pageNoresults per page
sip_accountNoSIP Account name for search
to_dateYesTo date in format YYYY-MM-DD
to_searchNoTo number search, E164 format

Input Schema (JSON Schema)

{ "properties": { "call_type": { "anyOf": [ { "enum": [ "sip", "incoming" ], "type": "string" }, { "type": "null" } ], "default": null, "description": "Type of call, can be sip or incoming", "title": "Call Type" }, "from_date": { "Default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "From date in format YYYY-MM-DD", "title": "From Date" }, "from_search": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "null" } ], "default": null, "description": "From number search, E164 format", "title": "From Search" }, "number": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Number for search, E164 format", "title": "Number" }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "results page", "title": "Page" }, "per_page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "results per page", "title": "Per Page" }, "sip_account": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "null" } ], "default": null, "description": "SIP Account name for search", "title": "Sip Account" }, "to_date": { "Default": null, "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "To date in format YYYY-MM-DD", "title": "To Date" }, "to_search": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "null" } ], "default": null, "description": "To number search, E164 format", "title": "To Search" } }, "required": [ "from_date", "to_date" ], "title": "get_call_historyArguments", "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