Skip to main content
Glama

Hiringsai — Free AI Tools

tool_align_elements

Read-only

Align layers on the canvas: left|center|right|top|middle|bottom.

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_ids": "<layer_ids>",
      "align": "<align>"
    },
    "name": "tool_align_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
alignYesleft|center|right|top|middle|bottom
design_idYesDesign id from create-design
layer_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.5/5.0
Behavior1/5

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

The description says the tool aligns (moves/repositions) layers, which mutates the design document, while annotations declare readOnlyHint=true and destructiveHint=false. That is a direct conflict about whether state is changed. Beyond the conflict, the description discloses nothing about reversibility, what happens to locked or non-existent layers, or batch limits.

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 short sentence with the action front-loaded and the option list at the end; nothing is wasted. It is arguably too terse rather than verbose, but structurally clean.

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?

For a 3-required-parameter mutation tool with no output schema, the description omits return behavior, error conditions for invalid design_id or layer_ids, and any note on undo. Annotations exist but are themselves contradicted, so the definition leaves the agent without reliable behavioral grounding.

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?

The description merely restates the align enum values that are already in the schema, adding no new meaning. The layer_ids array (up to 100 ids) has no schema description and the description does not compensate, leaving ordering, validity, and mixed-dimension alignment behavior undocumented at 67% coverage.

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 (Align) and resource (layers on the canvas) plus the allowed alignment values, so the agent knows exactly what operation is performed. It does not contrast itself with any sibling, but the verb+resource is distinctive enough to be told apart from grouping or adjustment tools.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g., layers must exist in the design), and no reference to alternatives such as grouping elements. Usage is only inferable from the tool name and verb.

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.