Skip to main content
Glama

Bind artwork to a layout slot

bind_slot
Destructive

Fit artwork into a layout slot and keep it bound to it.

Input Schema

NameRequiredDescriptionDefault
clipNo
modeNo
pathNo
detachNo
layout_idNo
shape_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and idempotentHint=false, so the agent knows this mutates and is non-idempotent. The description adds only the vague persistence notion 'keep it bound' and never discloses what gets destroyed (e.g., existing content in the slot, prior binding), whether rebinding replaces an earlier binding, or how the 'detach' path behaves.

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?

A single well-formed sentence with no padding, which is structurally clean. However, its brevity reflects under-specification rather than disciplined economy for a 6-parameter destructive tool.

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

Completeness2/5

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

A destructive, non-idempotent mutation with 6 undocumented parameters and no output schema demands far more than one sentence. The description leaves critical gaps: what mode/clip/path do, what detach reverses, and what state the document ends up in.

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 coverage is 0% across 6 parameters, so the description carries the full burden and mostly fails. 'Artwork' and 'layout slot' loosely map to shape_ids and layout_id, but clip, mode (with its contain/cover/stretch enum), path, and detach — including the fact that detach appears to undo the binding — receive no explanation anywhere.

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+resource combination: fitting artwork into a layout slot, plus the persistence aspect ('keep it bound'). An agent can tell this is a layout-binding operation, but the description never distinguishes it from siblings like fit_to_box, fit_to_children, place_image, or update_layout.

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?

There is no statement of when to use this versus fit_to_box, fit_to_children, place_image, or update_layout — all plausible alternatives in the sibling list. Nothing describes preconditions (does the slot need to exist? must layout_id reference a created layout?) or what happens to prior bindings.

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.