Skip to main content
Glama

faucet_delete

Delete records from a database table that match a required filter expression to prevent accidental full-table deletes. Returns the number of deleted records.

Instructions

Delete records from a database table that match a filter expression. A filter is required to prevent accidental full-table deletes. Returns the number of deleted records. Requires DELETE permission on the table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesName of the table to delete from
filterYesFilter expression to select records to delete (e.g. "status = 'expired'")
serviceYesName of the database service

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false, so the description usefully adds three behavioral facts: the mandatory filter guards against full-table deletes, the call returns a count of deleted records, and DELETE permission on the table is required. That is meaningful auth and safety context beyond the annotation, though reversibility/transaction behavior is unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each adding distinct information (action, safety constraint, return value, permission requirement) with the core purpose front-loaded. No 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 destructive three-parameter tool with no output schema, the description covers the safety guard, the return value, and the required permission, leaving nothing an agent needs in order to call it correctly.

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?

Schema description coverage is 100%, so all three parameters are already documented with an example filter expression; the description adds only the rationale for why filter is mandatory. This is the expected baseline when the schema carries parameter detail.

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 (Delete) and resource (records from a database table) plus the matching condition, which cleanly separates it from siblings like faucet_insert, faucet_update, and faucet_query without opening a schema.

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?

The description imposes a hard constraint ('a filter is required') that implies usage, but never states when to choose faucet_delete over faucet_raw_sql or faucet_update, nor any exclusions. Guidance is implied rather than explicit.

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