Skip to main content
Glama

Medya varlığını sil

xplanner_delete_media_asset
DestructiveIdempotent

Yalnız kullanılmayan medyayı siler; içerik veya saklanan sürüm referansı varsa 409 media_in_use döner. Deletes unused media only; linked content and retained revisions return 409 media_in_use. Storage failures are durably retried.

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": {
      "id": "<id>"
    },
    "name": "xplanner_delete_media_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 genuine value beyond that: the exact failure condition (linked content or retained revisions), the error code returned (409 media_in_use), and the fact that storage failures are durably retried — information an agent cannot get from annotations or schema.

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

Conciseness3/5

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

The content is front-loaded with the usage constraint, which is good, but the same three facts are stated twice in Turkish and English, roughly doubling length without adding information. No sentence is irrelevant, but the bilingual duplication costs efficiency.

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

Completeness4/5

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

For a one-parameter destructive delete with annotations covering destructiveness and idempotency, the definition supplies the key operational detail: the blocking condition and its error code, plus retry behavior on storage failure. Only the success response shape and the identifier's accepted form are unaddressed, which are minor given the absence of an output schema.

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% for the single required parameter, so the description must carry the meaning of 'id'. It never mentions the parameter; the agent can only infer from 'media' that the id is a media asset identifier, leaving whether it accepts an external id or internal UUID label unexplained beyond the schema's format pattern.

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 names a specific verb and resource (delete media asset) and immediately narrows the scope to unused media only. It is clearly distinguishable from sibling delete tools (folders, ideas, posts) by resource name, though it never explicitly routes the agent among them.

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 precondition 'only unused media' is stated, which implies when the call will succeed, and the 409 media_in_use outcome implies when it will not. However, there is no explicit guidance on when to choose this over alternatives such as unregistering or re-uploading a media asset, nor on prerequisite steps.

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