Skip to main content
Glama

create_component

Create site-wide components like navigation, footer, or signature, and reusable blocks for a RedStudio website.

Instructions

Create a component. Components are site-wide parts (navigation, footer, signature) or reusable blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsNoJavaScript. Note: only the navigation component JS runs on the public site; footer JS is not rendered.
cssNoCSS scoped to this page/component
htmlNoFull HTML of the page/component body (no <html>/<head>; Bootstrap 4.6 classes available). Links should be relative without a leading slash, e.g. href="about-us".
nameYesInternal name
permalinkNoSet to "navigation", "footer" or "signature" for the site-wide components; omit for a reusable block.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool. It says nothing about permissions/auth, name uniqueness or collisions, idempotency, or what happens on failure, so the safety profile is entirely opaque.

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?

Two short sentences, front-loaded with the action and followed by the definition. No filler, though the second sentence largely duplicates the permalink schema description rather than earning new information.

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?

With no annotations and no output schema, an agent gets no picture of what is returned (e.g. an id) or what authorization/cloning behavior to expect. The parameter layer is well covered by the schema, but the create lifecycle remains under-described.

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 83%, so the schema already documents nearly every parameter (including the navigation/footer/signature convention for permalink). The description restates the site-wide-versus-reusable distinction the schema already carries, adding little new parameter meaning, so baseline 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 and resource ('Create a component') and adds a definition of what a component is versus other content. It does not explicitly contrast with sibling create tools like create_page or create_post, but the site-wide/reusable framing makes the resource distinct.

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?

The definition of components (site-wide parts vs reusable blocks) implies when the tool applies, but there is no explicit when-to-use guidance, no exclusion of create_page/create_post, and no prerequisites. Usage is inferable only from the noun definition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.