Skip to main content
Glama
people-context

people-context

add_alias

Add a categorized alternate name—nickname, native script, transliteration, handle, or former name—to an existing person; values are normalized and deduplicated.

Instructions

Add a normalized-deduplicated alias to an existing person.

kind is one of nickname, native_script, transliteration, handle, former_name, or other, and defaults to other. The published schema carries the enum, so an unlisted value is refused before the alias is built rather than dropped.

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": {
      "person_id": "<person_id>",
      "value": "<value>"
    },
    "name": "add_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
langNo
valueYes
scriptNo
person_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "add_aliasDictOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv1.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation/safety profile is covered. The description adds real value by stating that aliases are normalized and deduplicated and that an unlisted kind is rejected before the alias is built rather than silently dropped. It does not explain what dedup actually does on a near-duplicate (merge, error, or no-op), which matters given idempotentHint=false.

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?

Two sentences, action stated first, supporting detail second, with no filler. The second sentence spends its budget re-enumerating an enum that already exists in the schema, which is mild waste but defensible as a rejection-behavior note.

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 5-parameter mutation with no output schema and zero schema coverage, the description covers the most error-prone parameter (kind) and the dedup/rejection behavior. It leaves lang and script entirely undefined and says nothing about what the call returns or whether a duplicate produces an error, so it is adequate rather than complete.

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% and only the AliasKind $def carries a description, so the description must compensate and does so for kind (full enum restated, default of 'other', validation-order behavior). It says nothing about value, person_id, and especially the lang vs script split, which are two adjacent optional strings whose distinction an agent must otherwise guess.

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?

States a specific verb and resource ('Add a ... alias to an existing person') and qualifies the write with 'normalized-deduplicated', which tells an agent more than the bare name. It does not name or distinguish itself from the near-synonym siblings update_alias, rename_person, and correct_record, so sibling differentiation is left to inference.

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 only implied: the description establishes that the person must already exist, which rules out creation paths. It never says when to prefer add_alias over update_alias (modify an existing alias) or rename_person (change the primary name), which is the main selection ambiguity in this cluster.

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