Skip to main content
Glama

Get API call

get_unified_apicall
Read-onlyIdempotent

Retrieve a single apicall by its ID from the connected account. Returns the full apicall record. Requires id (obtained from list_unified_apicalls). Use when you already have the ID; to search or list apicalls, use list_unified_apicalls.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the apicall to get

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / $defs / ApiCall / properties / query_params
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/ApiCall_query_params"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Names of the query-string parameters sent with this API call (eg. updated_gte, offset). Values are not stored."
      +}
    • addedOutput schema / $defs / ApiCall_query_params
      Added value: +{
      +  "description": "Names of the query-string parameters sent with this API call (eg. updated_gte, offset). Values are not stored.",
      +  "items": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / id / minLength
      Added value: +1
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "ApiCall": {
      +      "properties": {
      +        "connection_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "created_at": {
      +          "description": "The date that this object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "endapi_response_time": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "environment": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "error": {
      +          "description": "The error description (if status code is >= 400)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "external_xref": {
      +          "description": "your customer's user ID",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "description": "Unique identifier for this API call",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "integration_type": {
      +          "description": "The integration type",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "ip_address": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "is_billable": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "method": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "description": "The called name of the API method",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "path": {
      +          "description": "The called API method's HTTP verb and route path (PUT /crm/{integration}/deak/{id})",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "size": {
      +          "description": "The size of the response",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "description": "The resulting HTTP status code (200)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "type": {
      +          "description": "The type of API Call being logged. One of: login, webhook, inbound, mcp",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "unified_response_time": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "user_agent": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "webhook_id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "workspace_id": {
      +          "description": "(reference to KmsSpace)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "$ref": "#/$defs/ApiCall",
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • removedInput schema / properties / fields
      Removed value: -{
      -  "description": "Comma-separated list of fields to include in the response",
      -  "type": "string"
      -}
  5. First observed

TDQS

A4.5/5.0
Behavior3/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 the safety profile is fully covered without the description. The description adds useful context that the record is fetched from the connected account and that the full record is returned, but says nothing about failure behavior when an ID does not exist or is from another account.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the purpose, then the return, then the required argument, then the alternative. Nothing is redundant enough to cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, the sole parameter is fully documented, an output schema exists (so 'Returns the full apicall record' is a sufficient pointer rather than a gap), and annotations supply the safety profile. Nothing an agent needs to invoke this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single `id` parameter, so the baseline is 3. The description goes beyond the schema by disclosing where the ID comes from (`list_unified_apicalls`), which is genuine provenance help the schema does not provide.

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 ('Retrieve a single apicall by its ID'), plus the scope ('from the connected account'). It also names the sibling it is not (list_unified_apicalls), so the agent can distinguish it without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the precondition ('Use when you already have the ID') and routes to the alternative ('to search or list apicalls, use list_unified_apicalls'). Both the when and the when-not are covered.

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.

Resources