Skip to main content
Glama

Hiringsai — Free AI Tools

tool_group_elements

Read-only

Assign layers to a named group (or null to ungroup).

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>",
      "group": "<group>"
    },
    "name": "tool_group_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesGroup name or empty to clear
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.7/5.0
Behavior1/5

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

The description describes a write operation ('assign layers to a group', 'ungroup'), while the annotations declare readOnlyHint=true. This is a direct conflict about whether the call mutates state. No compensating detail (reversibility, whether existing group membership is replaced, permission needs) is offered.

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 waste, and the parenthetical covers the negative case efficiently. Its brevity is close to under-specification given the mutation semantics, but nothing is redundant.

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 required-parameter mutation tool with no output schema and an unresolved read-only/mutating conflict, the definition leaves too much open: whether reassignment replaces prior grouping, what happens to layers omitted from layer_ids, and what the response contains.

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 67%: 'group' and 'design_id' are described in the schema, 'layer_ids' is not. The description adds the ungroup semantics for 'group', but calls it 'null' while the schema types it as a string with 'empty to clear' — a mismatch that could confuse an agent at call time.

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?

The description names a specific verb and resource ('Assign layers to a named group') and covers the inverse case ('null to ungroup'). It doesn't distinguish this tool from any sibling, so it stops short of a 5.

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?

No guidance on when to prefer this over alternatives such as tool_align_elements or other layer-operating tools, and no stated prerequisites (e.g., that layers must belong to the same design). The ungroup case is mentioned, but that is behavior, not usage guidance.

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.