Skip to main content
Glama

Delete visual

delete_visual
DestructiveIdempotent

Delete the visual, its pointer and its ref, then reflow the rest. Needs an API key: with none yet, call signup first.

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": {
      "visualId": "<visualId>"
    },
    "name": "delete_visual"
  }
}

Input Schema

NameRequiredDescriptionDefault
visualIdYesThe visual's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds useful behavior beyond that: deletion cascades to the visual's pointer and ref, and the remaining layout reflows, plus the API-key requirement. It could be stronger by stating irreversibility explicitly, but the added context is substantive.

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?

Two short sentences with zero filler. The deletion and its cascade are front-loaded, and the authentication prerequisite follows without disrupting the main instruction.

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 single-parameter destructive tool, the description covers the action, its cascading effects, reflow behavior, and the auth prerequisite. Annotations already handle safety hints and the schema fully documents the parameter, so no important calling context is missing.

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 visualId is already documented as the visual's UUID. The description refers only to 'the visual' and does not add format or lookup guidance beyond the schema. Baseline 3 is appropriate when the schema carries parameter semantics.

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?

The description names a specific action and resource (delete the visual) and adds the consequences: the pointer and ref are removed, and the remaining visuals reflow. This distinguishes it from sibling read/update/create tools by verb and by its cascading effect.

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?

It gives a clear prerequisite: an API key is required, and if none exists, call signup first. It does not explicitly state when not to use deletion or contrast it with update_visual, but the use case is unambiguous.

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