Skip to main content
Glama

Add another spelling of a company's name

add_company_alias
Idempotent

Changes data: adds another spelling of a company's name, the way its documents write it, as the person who connected this app, and records it in the organization's audit log. From then on a name read from a document with that spelling is this company. Use it only when the user asks to add a name or alias to a company, and say which spelling and company before calling it. Spellings are compared the way documents are: case, spaces and punctuation do not matter, so adding one the company already has changes nothing. A spelling another company already goes by is refused with an error naming that company; to fold two companies together use Trackberry, merging is not available here. Get the company_id from list_companies. Answers with the company and its aliases.

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": {
      "company_id": "<company_id>",
      "spelling": "<spelling>"
    },
    "name": "add_company_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
spellingYesThe other spelling, such as "PROGUM LIMITED SAC".
company_idYesA company id such as "cmp_12", as returned by list_companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuine behavior beyond them: the write is attributed to the connected user, it lands in the organization's audit log, comparison is case/space/punctuation-insensitive so duplicate adds are silent no-ops, and a collision with another company's alias fails with an error naming that company. It also discloses the return payload ('the company and its `aliases`').

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 scoping and behavioral facts come first and the guidance follows, with no filler sentences. It is dense and slightly overpacked into long run-on clauses, but each sentence carries distinct information: effect, trigger, comparison rules, error case, id source, return value.

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?

For a 2-parameter mutation with no output schema, the description covers everything an agent needs: authorization context, audit consequences, idempotent behavior, error semantics, the correct sibling tool for merging, prerequisite id lookup, and a summary of the response. Nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains the normalization rules that govern how `spelling` is compared, and it points the agent to list_companies as the source of `company_id`. It does not add format constraints beyond the schema's maxLength/minLength, hence 4 rather than 5.

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 ('adds another spelling of a company's name') and immediately explains the downstream effect: a name read from a document with that spelling resolves to this company. That distinguishes it from create_company, update_company, and remove_company_alias without requiring the agent to open any schema.

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?

It states an explicit trigger ('use it only when the user asks to add a name or alias to a company'), a pre-call obligation ('say which spelling and company before calling it'), a prerequisite with a named source ('get the company_id from list_companies'), and an excluded alternative ('to fold two companies together use Trackberry, merging is not available here'). That is when-to-use, when-not-to-use, and alternatives all in one place.

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