Skip to main content
Glama

delete_reference

Delete a foreign-key reference while keeping its columns in the child table. Use dry run first to preview changes before applying.

Instructions

Delete a foreign-key reference (the FK columns in the child are kept). Destructive: prefer dry_run first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
model_idYes
reference_refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It explicitly labels the operation 'Destructive' and discloses that FK columns are kept, which is valuable behavioral context. It could add more about permissions or reversibility, but the warning is strong.

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?

The description is two short sentences with no filler, front-loading the core action and then the warning. It is efficient and well-structured, though it could be slightly more organized.

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

Completeness3/5

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

For a destructive delete operation, the description covers the key behavioral aspects (destructive, dry_run preference, column retention) but omits parameter details and return behavior. Without an output schema or annotations, more detail would be helpful, though it is not critically incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate by explaining parameters. It does not mention model_id, reference_ref, or dry_run at all, leaving the agent to guess their semantics from the schema titles alone. This is a significant gap.

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 the specific action 'Delete a foreign-key reference' and clarifies a key side effect (FK columns are kept). This clearly distinguishes it from delete_column or delete_table, and the resource type is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Gives the explicit advice to prefer dry_run first, which is a practical usage instruction. However, it does not mention alternatives or when not to use this tool, leaving the agent to infer context from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.