Skip to main content
Glama

Delete company

delete_company
DestructiveIdempotent

Permanently delete this organization's own copy of a company. A shared company itself cannot be deleted. Jobs on the copy move to the shared company, or are deleted with it when none exists. Passing the shared company's id deletes this organization's copy of it; with no copy it fails with 403. Admins and managers only. Cannot be undone — confirm with the user first. Returns { deleted: id } of the removed copy.

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": {
      "id": "<id>"
    },
    "name": "delete_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of this organization's copy, or of the shared company it copies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantial context beyond them: irreversibility, the cascade behavior where jobs move to the shared company or are deleted, the 403 outcome, permission requirements, and the return shape { deleted: id }. This is exactly the behavioral detail annotations cannot express.

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?

Five short sentences, front-loaded with the scope constraint and the shared-company caveat before permissions and the confirmation warning. Slight redundancy exists between 'Passing the shared company's id deletes this organization's copy of it' and the earlier shared-company sentences, but nothing is wasted.

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 destructive single-parameter mutation with no output schema, the description covers scope, cascade effects, failure mode, authorization, irreversibility, and return value. An agent has everything needed to call it correctly and warn the user.

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% and the id parameter is already documented as accepting either the org's copy or the shared company id. The description adds outcome semantics the schema lacks: passing the shared id deletes this org's copy, and it fails with 403 when no copy exists. That is genuine added meaning, though it largely restates the schema's dual-id note.

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 first sentence gives a specific verb and a precisely scoped resource: 'Permanently delete this organization's own copy of a company,' immediately distinguishing it from deleting the shared company itself. An agent can tell exactly what is removed without opening the 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?

The description states the key exclusion (a shared company cannot be deleted), the id-passing convention for the shared-company case, the 403 failure mode when no copy exists, the admin/manager role requirement, and the instruction to confirm with the user first. These are concrete when-to-use and precondition rules rather than implied guidance.

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