Skip to main content
Glama

delete_field_lineage

Destructive

Deletes one lineage link by its id (the one you gave to link_field_lineage). Only the traced path 'this field comes from there' disappears: the source block or field and the target field are untouched. Fits a link traced wrongly or a data flow that no longer exists; flagging a link as personal data belongs to mark_field_pii, removing a field together with the links that touch it to delete_field, removing a whole source block and its links to delete_data_source. REFUSED with an error, nothing written, on an unknown id. No dry run and no undo by the tool: the link can be traced again with link_field_lineage (transformLogic, isPii and notes sent anew), or an earlier saved version restored with restore_version, which replaces the whole schema.

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_field_lineage"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the lineage link to delete (the `id` given to link_field_lineage when it was traced)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"ID of the lineage link to delete (the `id` given to link_field_lineage when it was traced)"
  4. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, it discloses the exact blast radius (source block/field and target field untouched), the failure behavior (refused with an error on unknown id, nothing written), the absence of dry run and undo, and two recovery paths (re-link or restore_version, noting restore replaces the whole schema). That is well past what annotations convey.

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-loads the deletion scope and semantics before enumerating alternatives and recovery, so an agent can bail early if it has the wrong tool. Dense but slightly overloaded with sibling routing and undo detail in one paragraph.

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 two-parameter mutation with no output schema, the description covers impact, failure mode, irreversibility, and recovery alternatives. Nothing an agent needs to call it safely 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 baseline is 3, but the description adds real meaning by tying `id` to the value returned when link_field_lineage was called, which explains where to source it. The second parameter, expectedProjectId, is not discussed in the description, keeping it from a 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?

States a specific verb and resource ('Deletes one lineage link by its `id`') and immediately scopes what is removed versus preserved. It anchors `id` to the sibling that created it, so the agent can identify the target without other context.

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 when this applies ('a link traced wrongly or a data flow that no longer exists') and routes each adjacent need to a different tool: mark_field_pii for PII flagging, delete_field for field removal, delete_data_source for block removal. That is explicit when/when-not plus alternatives.

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.