Skip to main content
Glama

Set handle

set_handle
DestructiveIdempotent

Take, change or give up the current user's handle: the name other players type ("@name") to find the wantlists and tradelists this user has PUBLISHED with create_share_link. 3–20 characters: letters, digits, "-" and "_". handle null gives it up. Tell the user what a handle exposes: anyone who knows it — signed in or not, at /@name — sees every wantlist and tradelist link that is not revoked, never a deck share, the collection, a name or an email. Revoking a link removes it from the handle at once. Giving up the handle also leaves the trade circle: every friend and request goes. Changing it keeps the circle.

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": {
      "handle": "<handle>"
    },
    "name": "set_handle"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesThe handle to take, with or without the @; null to give it up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations flag destructive/openWorld but the description carries the real weight: it discloses exactly what becomes publicly visible (unrevoked wantlist and tradelist links at /@name, for anyone signed in or not), what is never exposed (deck shares, collection, name, email), and the side effect that giving up a handle also removes all friends and pending requests. That is behavior an agent could not infer from the annotations.

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?

Front-loads the verb and resource in the first clause, then layers format constraints and privacy consequences. Dense but mostly earned; the parenthetical 'name' gloss and the em-dash aside about what is visible run slightly long, but no sentence is filler.

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 single-parameter, destructive, no-output-schema tool, it covers format rules, privacy exposure, revocation interaction, and friendship side effects. The remaining gap is return/error behavior (e.g. what happens when the handle is taken or invalid), which matters for a mutation but is only partially implied by the constraints.

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 100% and already documents '@' optionality and null, so the baseline is 3; the description adds genuine constraints not in the schema — the 3–20 character length and the allowed character set (letters, digits, '-', '_') — plus reinforcing the null semantics. It stops just short of covering collision/error behavior for a handle already taken.

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?

States a specific verb and resource: take, change, or give up the current user's handle, then defines the handle concretely as the name other players type to reach published wantlists/tradelists. It is clearly distinguishable from read_handle (view) and from create_share_link (which publishes the links the handle exposes).

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?

Explains the three usage modes clearly, including that null gives the handle up, and gives the consequences that drive the decision (giving up also drops the trade circle; changing keeps it). It does not name an alternative tool for viewing the current handle or for checking availability, but the guidance for using this tool itself is explicit.

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