Skip to main content
Glama

Hiringsai — Free AI Tools

tool_add_shape

Read-only

Add a rect, circle, ellipse or line layer.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
fillNoFill color
nameNoLayer name
shapeNorect|circle|ellipse|line
widthNo
heightNo
strokeNoStroke color
design_idYesDesign id from create-design
strokeWidthNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.4/5.0
Behavior1/5

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

The description states the tool 'Add[s]' a layer, which is a state-mutating operation, while the annotations declare readOnlyHint=true. That directly conflicts with the declared safety profile and gives the agent a misleading expectation about side effects. Nothing is said about which design is modified, whether the layer is persisted, or what is returned.

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?

The single sentence is front-loaded and free of padding, which is good, but the brevity here reads as under-specification rather than efficiency. There is no structure to help an agent understand required versus optional inputs or the coordinate system.

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 10-parameter creation tool with no output schema and an annotation set that conflicts with the described behavior, one sentence is far too thin. An agent cannot determine placement semantics, defaults, or the result of the call from this definition.

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 only 50% across 10 parameters, so the description needs to compensate and does not. It mentions shape types, but that simply restates the existing enum-like text on the 'shape' property; x, y, width, height, strokeWidth and the design_id requirement receive no explanation in the description.

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 gives a specific verb ('Add') plus the resource ('layer') and enumerates the supported shape types, so an agent can tell this apart from tool_add_image or tool_add_text. It stops short of explicitly naming those siblings as the alternatives, which keeps it from 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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as tool_add_image or tool_add_text. The agent must infer that this tool is for vector shapes on an existing design rather than for other layer types.

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.