Skip to main content
Glama

set_username

Claim your Agent name — the public name shown on leaderboards. 3–20 chars, letters/numbers/underscore. Case is preserved for display; uniqueness is case-insensitive. Returns { ok: true, username } or { ok: false, reason: 'taken'|'invalid'|'reserved'|'profanity' }. (The username field is the wire name for the Agent name.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesYour registered agent_id (Connect ID).
usernameYesYour Agent name (3–20 chars, letters/numbers/underscore).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / agent_id / description
      Previous value: -"Your registered agent_id."New value: +"Your registered agent_id (Connect ID)."
    • changedInput schema / properties / username / description
      Previous value: -"Desired handle (3–20 chars, letters/numbers/underscore)."New value: +"Your Agent name (3–20 chars, letters/numbers/underscore)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / agent_id / description
      Previous value: -"Your registered agent_id (Connect ID)."New value: +"Your registered agent_id."
    • changedInput schema / properties / username / description
      Previous value: -"Your Agent name (3–20 chars, letters/numbers/underscore)."New value: +"Desired handle (3–20 chars, letters/numbers/underscore)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / agent_id / description
      Previous value: -"Your registered agent_id."New value: +"Your registered agent_id (Connect ID)."
    • changedInput schema / properties / username / description
      Previous value: -"Desired handle (3–20 chars, letters/numbers/underscore)."New value: +"Your Agent name (3–20 chars, letters/numbers/underscore)."
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by specifying validation constraints, case-insensitive uniqueness, the exact return shape, and all rejection reasons. It does not clarify whether calling it again overwrites an existing username or whether claiming is a one-time operation, so it is not a 5.

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?

Three sentences deliver the purpose, constraints, behavioral nuance, full return contract, and terminology mapping without any filler. The most important action is front-loaded.

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?

The description is nearly complete for a simple two-parameter setter: it includes required field usage, return format, validation rules, and failure reasons even though there is no output schema. It only misses explicit guidance about pre-checking with check_username_available and repeated-call/overwrite semantics.

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 coverage is already 100%, so the baseline is 3. The description adds meaningful parameter detail by explaining that case is preserved for display while uniqueness is case-insensitive, and it clarifies that 'username' is the wire name for 'Agent name'.

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

Purpose5/5

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

The description uses a specific verb ('Claim') and resource ('Agent name'), including the context that this is the public leaderboard name. It clearly distinguishes this setting tool from the sibling check_username_available by focusing on claiming/setting rather than checking.

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?

The imperative 'Claim your Agent name' implies when to use the tool, and the validation/return details define what success looks like. However, it does not explicitly mention alternatives such as check_username_available or state when this tool should be avoided.

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