Skip to main content
Glama

Yuppsy

website_builder_get_template_component

Read-only

Read one component's structured field map and clean content defaults from the website's selected template. Use its exact blockParseName from website_builder_get_template_components. Does not return template source.

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": {
      "siteId": "<siteId>",
      "componentParseName": "<componentParseName>"
    },
    "name": "website_builder_get_template_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesWebsite ID. The template is resolved from this website.
componentParseNameYesExact blockParseName returned by the component catalog.

Output Schema

NameRequiredDescriptionDefault
pageNoPage data, including the created page on a partial failure.
errorNo
itemsNoPage IDs that reference a page whose deletion was blocked.
catalogNoSlim component catalog returned by get_template_components.
successNo
warningNo
websiteNoComplete website structure returned by get_structure, including template/version, all pages and site-wide components.
componentNoComponent field map and content defaults returned by get_template_component.
websiteIdNoCreated website ID, including on partial creation failure.
statusCodeNo
integrityErrorsNoIntegrity errors, when returned by the checker or repair.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add scope context — which it does by stating the return is limited to the field map and clean defaults and explicitly excludes template source. It does not mention error behavior for an invalid siteId or a blockParseName not present in the template, which would have pushed this higher.

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?

Three short sentences with the primary action first, the prerequisite second, and the exclusion last. Every clause carries information an agent needs before calling, with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the description covers both required parameters plus the source-scoping caveat. For a two-parameter read tool with full annotation and schema coverage, this is nearly complete; only failure-mode guidance is missing.

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 100% and both parameters are already documented in the schema, including that siteId resolves the template. The description reinforces this by tying componentParseName to the exact value from the catalog tool, but that meaning is largely duplicated in the schema's own wording, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Read') and a precise resource ('one component's structured field map and clean content defaults') scoped to the website's selected template. It even carves out a negative boundary ('Does not return template source'), which separates it from the catalog sibling website_builder_get_template_components that returns component listings rather than per-component data.

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

Usage Guidelines4/5

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

It gives an explicit precondition and sourcing instruction: use the exact blockParseName returned by website_builder_get_template_components, which establishes the correct call ordering. It lacks an explicit 'when not to use' clause or a statement about what to do if the component is absent from the template, so it stops short of a full 5.

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.

Resources