Skip to main content
Glama

locus_add_alias

Registers an entity alias to map variant names to the same canonical entity, enabling consistent entity resolution and cleaner knowledge graph links.

Instructions

Register an entity alias so variant names resolve to the same canonical 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": {
      "alias": "<alias>",
      "canonical": "<canonical>"
    },
    "name": "locus_add_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYes
canonicalYes
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it reads as a mutation without disclosing any of its consequences. It doesn't say whether re-aliasing overwrites an existing mapping, whether the operation is idempotent or fails on conflict, whether the canonical entity must pre-exist, or where/if the alias is persisted (the store_path default hints at disk state but is never explained).

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?

A single front-loaded sentence that states the mechanism and its purpose with no filler. It earns its brevity, though the same length could have been used to add one behavioral caveat without bloat.

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

Completeness2/5

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

For a three-parameter write tool with no annotations, no output schema, and zero schema coverage, the description is thin. It omits the return value, conflict/overwrite semantics, the purpose of store_path, and any persistence or scope statement, leaving real ambiguity about how an agent should call it safely.

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 compensate, and it partially does: 'variant names' vs 'canonical entity' clarifies the direction of the alias/canonical relationship, which the bare schema does not. However, store_path is never mentioned, and there is no guidance on case sensitivity, normalization, or string format for the two required parameters.

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 pairs a specific verb ('Register') with a specific resource ('an entity alias') and states the observable effect: variant names resolve to the same canonical entity. That is enough to distinguish it from graph-mutation siblings like locus_add_node or locus_add_fact, though it doesn't name them explicitly.

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?

The use case is implied by 'so variant names resolve to the same canonical entity' — an agent can infer this is for normalizing synonyms onto one entity. There is no explicit when-not guidance, no mention of prerequisites (e.g. the canonical entity must already exist), and no routing to alternatives such as locus_add_node or locus_query_entity.

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