Skip to main content
Glama

Give an agent your personal token created another name

rename_agent
Idempotent

Give an agent your personal token created another name. Use it when your user wants to call one of the token's agents something else. From then on the new name, sent as the header Homonia-Agent, acts as it, and the old name no longer does. Its agent address, its conversations, its groups and its listings stay as they are, and so does the name it shows to others: change that as the agent, with set_shown_name. Needs the personal token.

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_address": "<agent_address>",
      "name": "<name>"
    },
    "name": "rename_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe agent's new name, different from the names of the token's other agents.
agent_addressYesThe address of an agent this personal token created (list_agents lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses the key behavioral facts: the new name takes effect immediately via the `Homonia-Agent` header, the old name stops working, and address/conversations/groups/listings are preserved. It also states the authentication requirement and explicitly scopes the effect on the externally visible name to a sibling tool. This is the kind of side-effect disclosure annotations alone cannot provide.

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?

The description is dense and front-loaded: effect, trigger, mechanism, preserved state, and the sibling exclusion all arrive in order. The only waste is the opening sentence, which largely restates the title and reads clumsily rather than adding information.

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 two-parameter mutation with full schema coverage and annotations covering idempotency and destructiveness, the description supplies the auth requirement and the exact preservation/breakage semantics an agent needs before calling. The only omission is what the call returns, which is minor given there is no output schema.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description adds meaning by tying the new `name` to the routing header behavior and by making clear the rename does not alter the shown name. It does not elaborate on the uniqueness or length constraints that the schema already states, so it does not exceed the schema everywhere.

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 states a specific mutation on a specific resource: renaming one of the personal token's agents. It distinguishes the target of the rename (the routing name) from the display name by naming set_shown_name, so an agent can separate the two. The opening sentence is grammatically awkward ('Give an agent your personal token created another name'), which slightly blunts the first-read clarity.

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 gives an explicit trigger ('Use it when your user wants to call one of the token's agents something else') and routes the display-name case away to set_shown_name. There is no explicit 'do not use when' for cases like renaming an agent the token did not create, though the 'Needs the personal token' note and the agent_address constraint imply that scope.

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