Skip to main content
Glama

Remove a file from a piece's material

remove_material
DestructiveIdempotent

Removes a file from a piece's material: the piece stops listing it and the file stays in the owner's library; a scene that already mounts it keeps it (removing is not unmounting). It is also how a third party's contribution is declined. Removing a file that is not in the piece changes nothing (removed: false). Only the piece's owner. Requires write. $0.

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": {
      "project_id": "<project_id>",
      "asset_id": "<asset_id>"
    },
    "name": "remove_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYesThe `assetId` of a file in the piece's material.
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: what actually changes (piece listing), what is preserved (file in library, existing mounts), the idempotent no-op shape (`removed: false`), the authorization constraint (owner only, requires `write`), and cost ($0). This corroborates destructiveHint/idempotentHint rather than contradicting them.

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?

Front-loaded with the core action, then layered with scope, edge case, permission, and cost in tight sentences with no filler. The parenthetical about unmounting is the shortest way to state a common misconception.

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 two-parameter destructive mutation with no output schema, the description covers effect, non-effect, no-op return value, authorization, and cost — everything needed to call it safely. No output schema exists, so return-format omission is not a gap.

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 coverage is 50%; asset_id is documented in the schema and the description contextualizes it as 'a file in the piece's material', but project_id is explained in neither place. The description clarifies what asset_id means relative to the piece but adds no format, ordering, or identity detail for the undocumented parameter.

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?

Uses a specific verb ('Removes') on a specific resource ('a file from a piece's material') and immediately bounds the scope: the file stays in the owner's library, and mounted scenes are untouched. That distinction ('removing is not unmounting') lets an agent separate this from other material tools without opening a 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 situational guidance, including the non-obvious case that this is how a third party's contribution is declined, and excludes the unmount interpretation explicitly. It does not name sibling tools such as accept_contribution or assign_material as alternatives, so the routing is contextual rather than explicit.

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