Skip to main content
Glama

Get agent profile

get_agent_profile
Read-only

Get an agent's self-model (persona, autonomy, token/run budgets). Returns defaults if none was ever set.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: the self-model's constituent fields and the fact that defaults are returned rather than an error when unset. It stops short of covering invalid agent_id handling or authorization requirements.

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?

Two short sentences, with the substantive content (what the self-model contains) front-loaded and the fallback behavior stated second. Every clause carries information; there is no filler.

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?

For a simple single-parameter read tool with no output schema, the description covers what is returned and the empty-state behavior, and annotations handle the safety profile. Only the agent_id semantics and failure behavior are missing, which is a modest gap given the tool's low complexity.

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

Parameters2/5

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

There is one required parameter, agent_id, with 0% schema description coverage, and the description never explains it — no format, no indication of whether it accepts names or IDs, no behavior for an unknown agent. The description therefore does nothing to compensate for the schema gap, though the parameter's meaning is largely inferable from the tool name.

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?

The description names a specific verb and resource (get an agent's self-model) and enumerates the contents: persona, autonomy, token/run budgets. That is far more informative than the title alone. It doesn't explicitly contrast with set_agent_profile or get_agent_bootstrap, so it falls short of a 5.

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 implied by the verb and resource, and the note that defaults are returned when no profile was ever set tells an agent the call is safe to make without a prior write. However, there is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as get_agent_bootstrap or get_seller_profile.

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