Skip to main content
Glama

detach_gallery_media

Remove a media item from a gallery by deleting its gallery-media link. The underlying media row is preserved.

Instructions

Remove a gallery_item_media link. Underlying media row is preserved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
link_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a key trait: the underlying media row is preserved, so this is a link-only removal rather than a data deletion. It omits auth requirements, idempotency, and error behavior.

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 tight sentences, front-loaded with the action and immediately followed by the preservation guarantee. No wasted words.

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 simple one-parameter detach tool with no output schema, the description covers the essentials of what it does and what survives. It lacks routing guidance versus sibling tools and any failure/idempotency context.

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 0% for the single link_id parameter, but the description's phrasing ('gallery_item_media link') gives context that link_id identifies a join between a gallery item and media. It adds modest meaning without clarifying format or sourcing.

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?

States a specific verb ('Remove') and resource ('gallery_item_media link'), which is clearly the inverse of the sibling attach_gallery_media. The scope is unambiguous, though it doesn't explicitly name the sibling it complements.

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?

No when-to-use guidance, prerequisites, or differentiation from related siblings like delete_gallery_item or attach_gallery_media. The agent must infer the use case from the verb alone.

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