Skip to main content
Glama

agent_modify

Update an existing agent's configuration, including its name, enabled tools, prompt, or enabled status, by specifying the agent role ID and the fields to change.

Instructions

Modify an existing agent configuration

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": {
      "role": "<role>",
      "updates": "<updates>"
    },
    "name": "agent_modify"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesAgent role ID to modify
updatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not state whether the update merges with or replaces existing settings, whether omitted fields are preserved, whether changes are reversible, or what permissions are required for a mutation.

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?

It is a single front-loaded sentence with no wasted wording, which is efficient. But the brevity comes from under-specification rather than disciplined editing, so it does not earn a high conciseness score.

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 mutation tool with a nested updates object, no annotations, and no output schema, the definition is far too thin. An agent cannot tell what a successful modification returns or how partial updates are interpreted.

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?

Schema coverage is only 50%, and the nested "updates" object's fields (name, tools, prompt, enabled) carry no descriptions in the schema or the description. The critical ambiguity of merge-versus-replace semantics for a partial update is left entirely unexplained.

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?

"Modify an existing agent configuration" gives a clear verb and resource, so the agent knows this is an update operation on an agent. However it never says what aspects of the configuration are mutable or how this differs from the sibling agent_add beyond the word "existing".

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 (e.g. the agent must already exist), and no pointer to agent_add for creation or agent_list for discovery. The agent must infer usage entirely from the name and one-line description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.