Skip to main content
Glama

Set agent profile

set_agent_profile
Idempotent

Set an agent's self-model (persona, constitution/guardrails, fast & deliberate model ids, self-critique stakes, bootstrap token budget). Admin only.

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
fast_modelNo
constitutionNoValues / guardrails the agent reasons from and won't violate.
deliberate_modelNo
self_critique_stakesNo
bootstrap_token_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description contributes the admin-only requirement, which is genuinely additive. It does not disclose whether omitted fields are preserved or cleared on a repeat call — material for a set-style idempotent mutation.

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?

A single dense sentence plus a short 'Admin only.' constraint — front-loaded and free of filler. The parenthetical field list borders on restating schema property names but still communicates scope efficiently.

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 7-parameter mutation with 14% schema description coverage and no output schema, the definition leaves key questions open: merge vs replace semantics, model id format, budget units, and stakes behavior. The admin constraint is helpful but does not compensate for those gaps.

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 only 14%, so the description must carry weight. It does map most fields into functional terms (persona, constitution/guardrails, fast vs deliberate model ids, self-critique stakes, bootstrap token budget), which helps orient the agent. But it supplies no format or unit details for model ids, budget, or the meaning of the 'off/high/all' stakes enum, and agent_id is left implicit.

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 the specific verb 'Set' and the resource 'an agent's self-model', then enumerates the constituent fields (persona, constitution/guardrails, model ids, self-critique stakes, bootstrap budget). This is enough to distinguish it from get_agent_profile and from set_agent_autonomy, though it does not explicitly name those siblings as alternatives.

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?

'Admin only' gives an important precondition for use. However, there is no explicit guidance on when to choose this over update_agent, set_agent_autonomy, or set_agent_tool_permission, so the agent must infer boundaries from field names.

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