Skip to main content
Glama

delete_name

Permanently delete a name from the database (cascade-deletes its values, and the documents and images uploaded to it with create_upload_link - the response's documentsDeleted says how many). Looks up by integer nameId — the id returned in apply_structure's namesResolved, or surfaced by describe_set / describe_query. Returns 404 if no name matches the id.

═══ PROVENANCE — required on every write ═══ source: origin reference (why this name is being deleted — usually a ticket, note, or upstream document). Lands in the audit trail. agent: your AI agent name (e.g. "Claude"). Lands in the audit trail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYesAI agent name (e.g. "Claude"). REQUIRED.
nameIdYesInteger id of the name to delete (from apply_structure namesResolved, describe_set, describe_query, etc.)
sourceYesOrigin reference — file, URL, document, or short note explaining the deletion. REQUIRED.
databaseYesDatabase name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well: it discloses permanence, the cascade deletion of values plus uploaded documents/images, the response field (documentsDeleted), the 404 error path, and the mandatory audit-trail provenance fields. This is exactly the destructive-operation context an agent needs.

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?

Front-loaded with the destructive action, then cascade scope, lookup source, and error behavior — a sensible priority order. The provenance block is justified because those parameters are required, though 'Lands in the audit trail' repeated on both lines is mildly redundant.

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

Completeness4/5

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

For a destructive write with no output schema and no annotations, the description supplies the key return signal (documentsDeleted), the failure mode (404), and provenance requirements. It does not enumerate the full response shape, but it covers what an agent must know to call and interpret the result safely.

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 already 100%, so the baseline is 3, but the description adds real meaning: it explains the id provenance for nameId and that source/agent land in the audit trail, framing them as required provenance rather than arbitrary strings. That exceeds what the schema fields convey.

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?

States a specific verb (permanently delete) and resource (a name), and immediately distinguishes itself from siblings like delete_database, delete_report, and edit_name_attributes by scoping to names and warning of cascade effects. An agent can tell exactly what this does 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operational context: how to source the nameId (apply_structure namesResolved, describe_set, describe_query) and what happens on a miss (404). It stops short of explicitly contrasting with the natural alternative, restore_name, or noting that list_deleted_names exists, so the when-not-to-use guidance is implied rather than stated.

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