Skip to main content
Glama

Delete OpenGraph element

delete_open_graph_element
Destructive

Delete one canvas element after confirmation.

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": {
      "projectId": "<projectId>",
      "id": "<id>",
      "ifUpdatedAt": "<ifUpdatedAt>",
      "elementId": "<elementId>",
      "confirm": "<confirm>"
    },
    "name": "delete_open_graph_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYes
elementIdYes
projectIdYes
ifUpdatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the danger profile is covered by structured data. The description adds only 'after confirmation', and says nothing about the optimistic-concurrency semantics implied by ifUpdatedAt (e.g. does it fail on a stale version?) or what else is affected by removing an element. For a destructive tool this leaves real behavioral questions unanswered.

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?

A single front-loaded sentence with zero filler; the action and resource come first. It is efficient but arguably too terse given the tool's danger and parameter count, which is penalized elsewhere rather than here.

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

Completeness2/5

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

For a destructive, five-required-parameter operation with no output schema and zero schema descriptions, one sentence is not sufficient. An agent cannot learn from the description what a stale ifUpdatedAt does or how to disambiguate the identifiers before performing an irreversible delete.

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% across 5 required parameters, so the description carries the full burden and mostly fails it. 'After confirmation' weakly maps to the confirm const:true field, but the distinction between id and elementId, and the purpose of ifUpdatedAt (a version guard) and projectId, are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Delete one canvas element'), which distinguishes it from delete_open_graph_design and delete_link. It does not explicitly name a sibling alternative, but the resource scope is unambiguous enough for an agent to pick the right tool.

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

Usage Guidelines2/5

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

There is no when-to-use versus when-not-to-use guidance and no mention of prerequisites or alternatives such as delete_open_graph_design. The phrase 'after confirmation' only hints at the required confirm flag rather than steering tool selection.

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