Skip to main content
Glama

add_alias

Idempotent

Registers an alternate name, spelling, or script for an entity so future lookups using that alias resolve to the same entity.

Instructions

Register another name for an entity (another language, spelling or script) so future lookups in that name resolve to the same entity.

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": {
      "entity": "<entity>",
      "alias": "<alias>"
    },
    "name": "add_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYes
entityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-destructive, idempotent, closed-world operation, so the description does not need to restate those safety traits. The description adds useful semantic behavior by saying future lookups resolve to the same entity, but it does not disclose collision behavior, overwrite rules, or what happens if the alias is already registered elsewhere.

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?

The description is a single front-loaded sentence with no wasted wording. It states the action and the resulting lookup behavior efficiently.

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

Completeness3/5

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

For a simple two-parameter mutation tool with annotations covering safety, the description gives enough context to understand the core operation. However, it leaves out important edge-case behavior such as alias collisions, existing alias replacement, and error handling, which matters for a mutation tool with no output schema.

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 description coverage is 0%, so the description must carry parameter meaning. It does clarify that the alias is another name in another language, spelling, or script and that the entity is the target being aliased, but it does not specify format constraints, uniqueness rules, or validation behavior for either required parameter.

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

Purpose4/5

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

The description uses a specific verb and resource: 'Register another name for an entity', and explains the intended effect that future lookups under that name resolve to the same entity. It is clear what the tool does, though it does not explicitly differentiate itself from sibling tools such as remember_fact or recall.

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?

Usage is implied by the stated effect: use this when an entity should also be resolvable under another language, spelling, or script. There is no explicit when-not guidance, no mention of alternatives, and no prerequisites such as required permissions or whether the alias must be unique.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.