Skip to main content
Glama

Check direct-call capabilities

get_agent_call_capabilities
Read-onlyIdempotent

Read the authenticated agent's current direct-call provider capabilities. A campaign adapter must check maxDurationSecs.supported, campaignBudget.supported and scopedContentDeletion.supported before creating a budget or dialing. Same data as GET /v1/agents/{id}/call-capabilities.

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": {
      "agentId": "<agentId>"
    },
    "name": "get_agent_call_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesAgent id from list_agents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description adds real value by naming the three capability fields to inspect (maxDurationSecs, campaignBudget, scopedContentDeletion) and their role as a gate before mutation. It stops short of describing the response shape or what happens when a capability is unsupported.

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

Conciseness4/5

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

Two tight sentences, front-loaded with the purpose and followed by the concrete pre-flight checks. The REST endpoint reference is optional but earns its place as a cross-reference for engineers; nothing is padded.

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

Completeness4/5

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

No output schema exists, and the description compensates by naming the specific capability fields to read and the decision they inform, which is what an agent needs to act. It omits failure-mode guidance (what to do when a flag is false) and the full set of returned capabilities, leaving a small but real gap.

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

Parameters3/5

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

With a single parameter at 100% schema coverage, the schema already documents agentId as 'Agent id from list_agents.' The description adds no syntax or format detail, and its phrasing 'the authenticated agent's ... capabilities' sits slightly at odds with the required agentId argument, which could momentarily confuse whether the id is implicit.

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 ('Read') and resource ('authenticated agent's current direct-call provider capabilities'), and pins the scope with the REST endpoint equivalent GET /v1/agents/{id}/call-capabilities. An agent can distinguish this from generic agent getters like get_agent or from mutation siblings such as create_campaign_call_budget.

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

Usage Guidelines4/5

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

Gives an explicit precondition: a campaign adapter must check the three capability flags before creating a budget or dialing, which routes the agent away from blind mutation calls. It lacks an explicit when-not or a named sibling alternative, but the prerequisite framing is unusually actionable.

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.