Skip to main content
Glama

Get Agent

get_agent
Read-only

Get the full details of an agent including its system prompt, configuration, and metadata. Response includes role-family fields: agentType (the role), customer (the end-customer this instance serves), instanceCount (number of customers running this same agent), and siblings (the other instances). Many SaaS-style customers run the same agent across multiple end-customers — these fields make that visible.

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe ID of the agent to retrieve
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description goes further by disclosing what the response actually contains (system prompt, role-family fields like instanceCount and siblings), which is meaningful because no output schema exists — though it does not flag that the system prompt may be sensitive data.

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?

Front-loaded with the core action and return contents, then a short explanation of why the role-family fields matter. Two sentences, no filler, though the closing SaaS-style example is slightly discursive for a retrieval tool.

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 returns and does so at a reasonable level: named fields (agentType, customer, instanceCount, siblings) plus the generic categories of configuration and metadata. It is nearly complete, needing only the sensitive-data caveat or a note about the customerId superadmin path.

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?

Schema description coverage is 100% and both parameters (agentId, customerId with its superadmin-only note) are fully documented in the schema itself. The description adds no parameter-level detail — the word 'customer' appears only as a response field, not as guidance on the customerId parameter. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (get) and resource (agent) and enumerates what comes back: system prompt, configuration, metadata, plus role-family fields. This distinguishes it from list_agents (plural listing) and get_agent_status (status only), though neither sibling is named explicitly.

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?

Usage is only implied — an agent can infer 'fetch full details' means use this rather than list_agents, but there is no explicit when-to-use statement, no exclusion against get_agent_status or analyze_agent, and no mention of prerequisites such as permissions needed to read a system prompt.

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