Skip to main content
Glama

database_edge_delete

Destructive

Deletes one edge, active or proposed. Rejecting a proposed edge is this call. The rows it joined are untouched. Requires confirm: true for an active edge, since it was a decision somebody made.

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": {
      "productId": "<productId>",
      "databaseId": "<databaseId>",
      "edgeId": "<edgeId>"
    },
    "name": "database_edge_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeIdYes
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
databaseIdYesDatabase identifier, from product_get or database_get.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds real value with "The rows it joined are untouched," which scopes the blast radius beyond what annotations convey. However, the confirm requirement is largely duplicated from the schema, and nothing is said about reversibility or what the response contains.

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?

Four short sentences, front-loaded with the action and scope, then the side-effect note, then the confirm rule. The closing rationale ("since it was a decision somebody made") is a slight flourish but justifies the confirm gate rather than wasting space.

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, six-parameter tool with no output schema, the description covers the key side effect and the confirm gate, which is the essential information. It omits what happens to the edge record itself, whether deletion is reversible, and any mention of dry_run or idempotency, leaving gaps an agent must fill from the schema.

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 83%, so the schema already documents confirm, dry_run, productId, idempotency_key and the rest. The description's only parameter-adjacent content (confirm for active edges) restates the schema, so it adds little meaning beyond structured data. Baseline 3 applies.

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 edge") and immediately scopes it ("active or proposed"), then disambiguates a non-obvious case: "Rejecting a proposed edge is this call." An agent can distinguish this from database_edge_upsert without opening either 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 usage context by naming the rejecting-a-proposed-edge case and the confirm requirement for active edges. It stops short of explicitly naming an alternative tool or stating when not to use it, so it falls just below the top band.

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