Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

delete_field

DestructiveIdempotent

Soft-delete a field. Existing records keep the stored values, but the field is excluded from validation and responses (and no longer accepted on writes). Refused with FIELD_IN_USE (409) while another field's formula reads it: a formula cannot be edited, so delete the formula field first, or keep the source and hide it with update_field(hidden=true). The name can be created again later only with the same definition it had (type, unique, search, multiple, targets, valueType, precision, computed, stored, formula); a different one is refused with FIELD_SHAPE_CONFLICT (409) because the old values are still stored under that name — use a new name and migrate the data (migrate-field prompt).

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": {
      "field_id": "<field_id>"
    },
    "name": "delete_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
field_idYesField record ID (e.g. 'FLD12')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it explains what is actually destroyed (nothing — values stay stored), that the field drops out of validation and responses and rejects writes, and the exact 409 error codes (FIELD_IN_USE, FIELD_SHAPE_CONFLICT) with their causes. This is exactly the extra context annotations cannot carry.

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 core semantic (soft delete, values retained) before the error and recovery detail. It is dense and the final parenthetical enumerating the definition fields (type, unique, search, multiple, targets, valueType, precision, computed, stored, formula) is long, but it is load-bearing for the FIELD_SHAPE_CONFLICT rule rather than filler.

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 one-parameter destructive tool with no output schema, the description covers side effects, error codes, blocking dependencies, and recovery paths — including the non-obvious constraint that a recreated name must match the prior definition. Nothing an agent needs to call this safely is missing.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents field_id and its FLD-prefixed format. The description adds no further parameter-level detail, which is the expected baseline when the schema does the work.

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?

Opens with a specific verb+resource ("Soft-delete a field") and immediately clarifies that this is a soft delete where stored values persist. This distinguishes it cleanly from sibling delete_* tools and from update_field, so an agent can select it 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?

Explicitly names the blocking condition (FIELD_IN_USE 409 when another field's formula reads it) and gives two concrete alternatives: delete the formula field first, or keep the source and hide it via update_field(hidden=true). It also routes the agent to the `migrate-field` prompt for the name-reuse case.

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