Skip to main content
Glama

clearly_component_create

Save a new reusable workspace component from a spec or a canvas subtree.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
specNo
nodeIdNo
brandIdNo
categoryNo
descriptionNo
fromComponentIdNo
fromCompositionIdNo

Output Schema

NameRequiredDescriptionDefault
okYes
codeNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent creation operation, and the description adds that the result is a reusable workspace component created from a spec or subtree. It does not explain workspace scope, duplicate-name behavior, permissions, or side effects, so behavioral context remains thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single front-loaded sentence with no filler, and it states the core action and source modes efficiently. It is appropriately sized for a description, even if it is sparse on detail.

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?

This is a complex creation tool with eight parameters, a nested spec object, and zero schema description coverage; a one-line description is not sufficient to explain how the source parameters differ or how the creation behaves. The output schema reduces the need to describe return values, but the input and behavioral context remain incomplete.

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% for eight parameters, and the description only hints at the roles of spec and nodeId via 'from a spec or a canvas subtree.' It leaves name, brandId, category, description, fromComponentId, and fromCompositionId completely unexplained, so it does not compensate for the schema gap.

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 uses the specific verb 'Save a new' and resource 'reusable workspace component,' and it names two acceptable sources: a spec or a canvas subtree. That clearly distinguishes creation from sibling read/update/delete operations, though it does not explicitly name an alternative sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies the tool is used when creating a new component from either a spec object or a canvas subtree, but it gives no explicit when-to-use versus when-not guidance and no named alternatives. The source choice is mentioned without selection criteria.

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.