Skip to main content
Glama

Remove another spelling of a company's name

remove_company_alias
DestructiveIdempotent

Deletes data: removes one other spelling of a company's name, as the person who connected this app, and records it in the organization's audit log. A name on a document with that spelling is then no longer read as this company. Use it only when the user asks to remove a name or alias, for instance one that was mapped to the wrong company, and say which spelling and company before calling it. It can be added again with add_company_alias. The spelling is matched the way documents are (case, spaces and punctuation do not matter); one the company does not have changes nothing. The company's own name, name, cannot be removed: change it with update_company. Get the company_id and the aliases from get_company. Answers with the company as it is now.

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": "remove_company_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
spellingYesThe spelling to remove, as listed in the company's `aliases`.
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.9/5.0
Behavior5/5

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

The annotations already declare destructive=true and idempotent=true, but the description adds important behavior: audit logging, acting as the connected user, document-reading effect, matching semantics, no-op behavior when the alias is absent, and returning the current company. These details go well beyond the annotation hints.

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 front-loads the destructive effect, then covers usage, alternatives, matching behavior, constraints, prerequisites, and return value in dense but purposeful sentences. There is no obvious filler or repeated wording.

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?

Although there is no output schema, the description supplies the return value ('the company as it is now'), the effect on documents, prerequisite sources, and key constraints. That is enough for an agent to invoke this destructive mutation correctly.

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 core parameter documentation is already present. The description adds meaningful semantics for `spelling`, including that matching ignores case, spaces, and punctuation, and says to get aliases from get_company, though its note to get `company_id` from get_company differs slightly from the schema's list_companies reference.

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 states a specific verb and resource: removing one other spelling of a company's name, and explains the resulting effect on document reading. It clearly distinguishes this from add_company_alias and update_company by covering re-adding aliases and the own-name exception.

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 gives explicit when-to-use guidance: use only when the user asks to remove a name or alias, for example one mapped to the wrong company, and confirm spelling and company before calling. It also names add_company_alias and update_company as alternatives for re-adding and changing the primary name.

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