Skip to main content
Glama

Hiringsai — Free AI Tools

tool_reorder_layer

Read-only

Move a layer up, down, to top or to bottom in the stack.

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": {
      "design_id": "<design_id>",
      "layer_id": "<layer_id>",
      "direction": "<direction>"
    },
    "name": "tool_reorder_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
layer_idYesLayer id or name
design_idYesDesign id from create-design
directionYesup|down|top|bottom

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior1/5

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

The annotation set declares readOnlyHint=true and destructiveHint=false, but the description describes moving a layer within a stack, which is unambiguously a state-mutating operation. The description therefore directly contradicts the read-only annotation, and it adds no further behavioral context such as whether ordering is persisted or what happens at stack boundaries.

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?

A single front-loaded sentence with no filler or redundancy; every word carries meaning. It is perhaps too terse for a mutating tool, but nothing is wasted or buried.

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 three-parameter tool with full schema coverage and no output schema, the description covers the core action adequately. However, it omits any note about the mismatch with the read-only annotation and any statement of effect or return, leaving the definition borderline complete for a state-changing operation.

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 100%, with layer_id, design_id, and direction each documented inline including the up|down|top|bottom value set. The description restates the direction options but adds no format, boundary, or edge-case semantics beyond what the schema already supplies, so the baseline of 3 applies.

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 ("Move") applied to a specific resource ("a layer") and enumerates the four supported destinations (up, down, top, bottom). The purpose is unambiguous and immediately actionable, though it does not contrast itself with any sibling tool that might also affect layer ordering.

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?

The description gives no guidance on when to reach for this tool versus alternatives, no prerequisites (e.g., that layer_id must already exist in design_id), and no exclusion conditions. The agent must infer all usage context from the schema alone.

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.