Skip to main content
Glama

remove_blendspace_sample

Destructive

Remove a sample by index from a BlendSpace and return the updated sample list, since removal swaps the last sample into the deleted slot and reorders remaining indices.

Instructions

Remove a blend sample (by index) from a BlendSpace. WARNING: the remaining indices REORDER -- the engine removes with a swap, so the LAST sample lands in the deleted slot. Never remove a batch by descending index and assume the rest held still: the full post-op sample list is returned so the caller can re-sync before the next call. A failed save makes success false, with saved=false and save_error.

Returns: { blendspace_path, removed, num_samples, samples, saved, save_error, message }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesIndex of the sample to remove.
blendspace_pathYesFull asset path to the UBlendSpace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say destructive/non-idempotent) by disclosing the swap-removal mechanic — the last sample lands in the deleted index — and the failure contract (saved=false, save_error populated on a failed save). This is exactly the kind of non-obvious behavior that prevents incorrect callers.

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?

Front-loaded with the action, then the critical warning, then the return shape — a sensible ordering. The warning is somewhat long but each clause adds actionable content; the 'Returns:' enumeration is justified because no output schema exists.

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?

With no output schema, the description compensates by listing the return object fields, and for a destructive, reordering mutation it also explains the post-op index state and save-failure path. Nothing an agent needs to call and recover from this tool 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 coverage is 100% and both parameters (index, blendspace_path) are already documented there. The description's 'by index' reinforces but adds no syntax, range, or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (Remove) plus resource (a blend sample) and scope qualifier (by index, from a BlendSpace) in the first clause. It is clearly distinguishable from siblings like add_blendspace_sample, edit_blendspace_sample, get_blendspace_samples, and remove_blend_space without opening any 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?

Provides real operational guidance for repeated calls: 'Never remove a batch by descending index' and re-sync using the returned sample list before the next call. It does not name an explicit alternative tool or when-not-to-use condition, so it falls short of a 5, but the sequencing context is concrete.

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

Deploy Server

Other Tools