Skip to main content
Glama

sb_template_use

Instantiate a section template on a specific page by providing template_id and page_id, optionally dry_run to preview. Use built-in site templates or create your own to apply layouts using page tokens, avoiding copies.

Instructions

Instantiate a section template into a page — the site's own (the server copies it) or one of the BUILT-IN layouts sb_templates lists, which are composed against this page's own tokens rather than copied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
page_idYes
site_idNo
template_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • changedInput schema / required
      Previous value: -[
      -  "site_id",
      -  "template_id",
      -  "page_id"
      -]New value: +[
      +  "template_id",
      +  "page_id"
      +]
  2. First observedv0.1.4

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate this is not read-only and not destructive. The description adds useful behavioral detail: site's own templates are copied by the server, while built-in layouts are composed against the page's tokens rather than copied. This clarifies the side-effect model beyond the boolean hints. It does not address dry_run semantics or reversibility, but the core behavior is transparent.

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?

One dense sentence, front-loaded with the core action and all key distinctions (own template copied vs built-in composed). No fluff, though the grammar is slightly convoluted.

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?

The description covers the main template-id and page-id semantics and the own-vs-built-in distinction, but omits dry_run and site_id behavior and says nothing about return values or side effects. Acceptable for selecting the tool, incomplete for fully invoking with all options.

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?

With schema description coverage at 0%, the description must compensate, but it only indirectly clarifies template_id and page_id. It says nothing about dry_run or site_id, leaving two parameters semantically unexplained. Some value is added for template selection, but the compensation is incomplete.

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 opens with a specific verb, 'Instantiate a section template into a page,' and clarifies the two source types: the site's own templates (server copies) and BUILT-IN layouts listed by sb_templates. This clearly distinguishes the tool from siblings like sb_templates and states the exact action.

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?

The description provides clear context about when to use the tool (to instantiate a section template) and refers to sb_templates for built-in layouts, giving the agent a pointer to a sibling tool. It does not explicitly state when not to use this tool versus alternatives, but the built-in vs. site-own distinction is a strong usage signal.

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