Skip to main content
Glama

Resolve a ~handle

alter_resolve_handle
Read-onlyIdempotent

Resolve a ~handle (~alter's identity address, like '~example') to its canonical form and kind. Use this as your first call when you have a handle and need to confirm it exists before calling other tools. Returns canonical handle, kind (system/personal/role_alias), and addressability. Also accepts a full alter: address. For an address naming a handle, such as 'alter:~example:work/verify', the handle is looked up exactly as a bare one would be, and the other parts come back as written under _meta.address. For an address naming an artefact, such as 'alter:docs/protocol.md', the address is read and returned, and this tool does not look the artefact up, so an empty result there is expected. Never returns PII. Reading what the field holds about a handle is verify_identity, a separate tool that needs a credential and so is not on the anonymous listing; an agent can mint one for itself in two calls with register_autonomous_challenge then register_autonomous. Free L0, no authentication required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesHandle or alter: address to resolve. Accepts '~example', 'example', '~Example', 'alter:~example@example.com:work/verify' and 'alter:docs/protocol.md'. Handles are case-insensitive. Max 64 characters for a handle, 96 for an alter: address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Handle to resolve. Accepts '~example', 'example', '~Example', etc. Case-insensitive. Max 64 chars."New value: +"Handle or alter: address to resolve. Accepts '~example', 'example', '~Example', 'alter:~example@example.com:work/verify' and 'alter:docs/protocol.md'. Handles are case-insensitive. Max 64 characters for a handle, 96 for an alter: address."
    • changedInput schema / properties / query / maxLength
      Previous value: -64New value: +96
  2. Added
  3. Removed
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds meaningful context beyond that: 'Never returns PII,' 'Free L0, no authentication required,' and the surprising edge-case behavior where an artefact address is echoed back rather than looked up (making an empty result expected). The one minor gap is no mention of pagination or rate limits, though this is a single-value lookup.

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 purpose and the primary usage directive, then layers edge cases. It is longer than strictly necessary and the tail about minting a credential via register_autonomous_challenge/register_autonomous is somewhat tangential, but nearly every sentence carries operational value for correctly calling the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description correctly enumerates return contents (canonical form and kind). Combined with the usage directive, edge-case handling, PII guarantee, and auth posture, an agent has everything needed to invoke and interpret the call correctly.

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

Parameters3/5

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

Schema coverage is 100%, so the single 'query' parameter is fully documented with accepted forms, case-insensitivity, and length limits. The description's mention of accepting handles or alter: addresses largely restates the schema, so the baseline 3 applies with no meaningful addition beyond the structured field.

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 (resolve) and resource (~handle), and precisely defines what resolution produces: canonical handle, kind (system/personal/role_alias), and addressability. It distinguishes itself from the sibling verify_identity, which it explicitly names as a different operation.

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 prescribes usage: 'Use this as your first call when you have a handle and need to confirm it exists before calling other tools.' It also names the alternative (verify_identity) and the condition that selects it (reading what the field holds about a handle), plus the credential prerequisite and the two-call path to obtain one.

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