Skip to main content
Glama

Get a voice agent

get_agent
Read-onlyIdempotent

Get a voice agent

Returns the full public configuration of one voice agent, including the system prompt, the opening line, model settings and the recording and retention settings. Internal voice engine identifiers are never included. A reseller key may read any agent belonging to that reseller; an ordinary key only its own. An identifier that is not a number after the agent_ prefix is removed is rejected with 400.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesIdentifier of the voice agent. Accepted either as the public form `agent_12` or as the bare number `12`; the prefix is stripped before the lookup.

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?

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description still adds meaningful behavior beyond them: the returned payload is the public configuration only, internal voice engine identifiers are never included (a redaction guarantee), and invalid identifiers produce a 400. Only rate limits or response-shape details are absent, which is minor.

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?

Four short sentences, front-loaded with the return contents before access rules and error behavior. The only waste is the opening repetition of the title 'Get a voice agent', but the remainder is dense and earns its place.

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?

With no output schema, the description carries the burden of describing the return value and does so concretely, and it also covers authorization scope and error behavior for the single required parameter. It is essentially complete for a one-parameter read tool; only the exact response envelope is left unstated.

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%, so the accepted `agent_12` vs `12` forms are already documented; the baseline would be 3. The description goes one step further by stating that an identifier that is not a number after prefix stripping is rejected with 400, adding validation semantics the schema does not express.

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?

The description pairs a specific verb ('Get'/'Returns') with a precise resource ('the full public configuration of one voice agent') and enumerates the contents (system prompt, opening line, model settings, recording and retention settings). This makes it clearly distinguishable from the list_*, create_agent, update_agent and get_agent_analytics siblings without opening any schema.

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

Usage Guidelines3/5

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

It supplies real usage context — a reseller key may read any agent belonging to that reseller while an ordinary key reads only its own — which tells an agent whether a call will succeed. However, it never states when to prefer this over alternatives (e.g. get_agent_analytics for metrics, list_agent_knowledge for knowledge data) or any when-not-to-use condition, so routing guidance is only implied.

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.