Skip to main content
Glama

Record an alias

alias_set
DestructiveIdempotent

Records that two names mean the same subject, so a search for either one finds the facts written under the other. Renames are the case: a project called Warden, then Quill, then Lumen, with facts filed under all three and a search for the current name finding a third of them. canonical is what the subject is called now and alias is the other name. The record steers every later search for every client on this server: a pair drawn from a resemblance merges two subjects' facts in every result. origin records whether the user stated the pair or it was read out of a fact. Repeating a call with the same names leaves one entry. A call naming an alias already recorded in that namespace replaces its canonical name, since and until, and the earlier pairing is not kept.

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": {
      "alias": "<alias>",
      "canonical": "<canonical>",
      "namespace": "<namespace>"
    },
    "name": "alias_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYesThe other name for the subject, as somebody would type it.
sinceNoWhen the alias started denoting the subject, as a date, `2026-03-01`, or a full RFC 3339 instant. It holds a time the user stated; a time worked out from context is a guess the store then reports as fact. When absent, the record carries no start.
untilNoWhen the alias stopped denoting the subject. Same two forms as since, and the same limit: a time the user stated. When absent, the record carries no end.
originNo'manual' when the user stated the two names are the same thing, 'derived' when something read the pair out of a fact. Defaults to manual.
canonicalYesThe name the group is keyed on, which is what the subject is called now.
namespaceYesThe namespace holding facts about this subject, usually 'project:<slug>'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the record steers every later search for every client on this server, so the blast radius is global. It also spells out the replacement path: re-calling with an alias already in that namespace overwrites canonical, since and until, and the earlier pairing is not kept, which concretely describes what is destroyed.

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 core fact is front-loaded in the first sentence, with the global-impact warning placed before the field explanations. The Warden/Quill/Lumen example runs long for a single illustration, but it earns its space by making the merge risk intuitive.

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 six-parameter mutation tool with no output schema, it covers the important ground: global scope, idempotency, and the overwrite behavior. What is missing is modest, notably what any error or return signal looks like and whether a prior alias_list call is advisable before overwriting.

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% and the schema already describes canonical, alias, origin, since, until and namespace with comparable detail. The description restates canonical as the name the subject is called now and alias as the other name, adding little beyond the schema, though the rename narrative anchors why canonical differs from alias. Baseline 3 is appropriate.

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 opens with a specific verb and resource: it records that two names denote the same subject, then grounds it in the rename case (Warden/Quill/Lumen). An agent can immediately distinguish this from sibling alias_list, which merely lists pairings.

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 establishes the usage context clearly (renames where facts are filed under multiple names) and adds a real caution that a pair drawn from a resemblance merges two subjects' facts in every result. It stops short of naming alternatives, such as when to list existing aliases first or when to prefer memory_write instead.

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