Skip to main content
Glama

Moneda

set_passkey_label

Rename a passkey so it is recognisable in the security screen (e.g. 'Work laptop'). Pass the passkey id from get_passkeys. Cosmetic only — it cannot add, remove, or weaken a credential. Send an empty label to clear it back to the provider name.

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": {
      "id": "<id>",
      "label": "<label>"
    },
    "name": "set_passkey_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe passkey id, as returned by get_passkeys (`id` field)
labelYesNew nickname, max 40 characters. Empty or null clears it.
targetNoWALLET for a smart-account passkey (what get_passkeys lists), LOGIN for an email login passkeyWALLET

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already say readOnlyHint=false and destructiveHint=false, so the description usefully adds that the operation is cosmetic and non-security-affecting, and that empty label resets rather than deletes. Doesn't cover permission/auth requirements or rate limits, keeping it from 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 short sentences, each earning its place: purpose, id source, safety/cosmetic caveat, and edge-case behavior. Front-loaded and no redundancy.

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 3-param mutation tool with no output schema and full schema coverage, the description covers purpose, id provenance, safety, and empty-value behavior. The target enum (WALLET vs LOGIN) is left to the schema, a minor gap.

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% so baseline is 3; the description adds value by cross-referencing the id source (get_passkeys) and clarifying clearing semantics, though it doesn't mention the max 40-char limit or the target enum (WALLET/LOGIN) that the schema covers.

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?

Specific verb (rename) plus resource (a passkey) and a concrete example ('Work laptop'). It also disambiguates from creation/security tools by stating it is cosmetic only and cannot add, remove, or weaken a credential.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent where the id comes from ('from get_passkeys'), a sibling tool, and explains the empty-label edge case (clears to provider name). Clear when/how to invoke, no guessing required.

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