Skip to main content
Glama

Set agent profile

set_agent_profile
Idempotent

Create or update an agent's self-model.

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

Input Schema

NameRequiredDescriptionDefault
personaNo
agent_idYes
autonomyNo
max_runs_per_dayNo
bootstrap_token_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare the write, idempotent and non-destructive profile, so the description adds little. It does hint at upsert behavior (create OR update), which is consistent with idempotentHint=true, but it never says whether omitted fields are preserved or cleared, what permissions are required, or what happens to an agent whose profile already exists.

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

Conciseness3/5

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

One short sentence with no padding, but the brevity comes from omission rather than efficiency. Nothing is front-loaded beyond the bare verb and resource.

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

Completeness2/5

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

For a five-parameter mutation tool with zero schema descriptions and no output schema, a single sentence is not enough. The agent has no way to learn what a "self-model" comprises or how the budget and autonomy fields interact.

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

Parameters1/5

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

Schema description coverage is 0% across five parameters, and the description mentions none of them. It gives no meaning for persona, autonomy's three modes, max_runs_per_day, or bootstrap_token_budget, so the agent must guess entirely from property names.

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

Purpose3/5

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

The description names a verb pair (create/update) and a resource (agent's self-model), so it isn't a tautology of the name. But "self-model" is never defined, and with siblings like update_agent, set_agent_tool_permission and get_agent_profile in play, an agent cannot tell exactly what this configures versus a general agent update.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite or permission note, and no routing to alternatives such as update_agent or get_agent_profile for reading the same data. The upsert framing is the only usage signal, and it is implicit.

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