Skip to main content
Glama

Get an agent

get_agent
Read-onlyIdempotent

Get an agent

One agent this key can act on, with its settings: its Main Instructions, AI handoff, comment auto-hide and when the AI stops responding (ai_stop_enabled, ai_stop_when) besides the basic details the list returns. Another company's agent, an unknown id, or a deleted agent on the key's agent list is 404 agent_not_found; an agent of your company off that list is 403 agent_not_authorized.

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`.

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 read-only, idempotent, non-destructive, closed-world, so the description's added value is the error taxonomy and the return content detail (which settings are included beyond list-level basics). That is useful behavioral context beyond the annotations, though it stops short of describing response shape or any rate/permission nuances.

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?

Content is front-loaded: the returned-field inventory comes first, error conditions last. The opening line 'Get an agent' merely restates the title, and the error-code sentence duplicates the input schema, so a small amount of the text does not earn 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 return-value burden and does so by naming the notable settings returned, plus the two failure modes. It is nearly complete for a simple single-resource read; only the overall response envelope/format is unspecified.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents agent_id and its error semantics. The description's 403/404 mapping largely repeats the schema text rather than adding new meaning, so baseline 3 applies.

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 states a specific verb+resource (retrieve one agent with its settings) and enumerates the distinguishing fields: Main Instructions, AI handoff, comment auto-hide, ai_stop_enabled/ai_stop_when. It explicitly contrasts with the list tool ('besides the basic details the list returns'), so an agent can distinguish it from list_agents without reading schemas.

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?

It clarifies the selection context by contrasting single-agent retrieval against the list, and gives concrete outcome conditions (404 for unknown/deleted/other-company agents, 403 for agents off the key's list). It does not explicitly address when to prefer get_agent_setup or get_agent_analytics, so the sibling exclusions are implicit rather than stated.

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