Skip to main content
Glama

Start a page from a template

get_template
Read-only

A whole page (list, detail, form, settings, dashboard, sign-in) built from this organisation's components and spacing scale, in the project's framework: the files to create, which component fills each part, and the page's rules (states, layout, accessibility). Call before building a new page or screen; rename the sample data and keep the structure. Without a name, lists the templates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoTemplate name or what the page is, e.g. "list", "login", "admin index". One of: list, detail, form, settings, dashboard, sign-in
frameworkNoThe project's UI framework (from its package.json: @angular/core → angular, vue → vue, svelte → svelte, solid-js → solid, react → react). Defaults to the one set for this connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds real value beyond that by describing the shape of the result (files to create, component per part, page rules covering states, layout, accessibility) and the instruction to rename sample data while keeping structure. It also discloses the two-mode behaviour (named retrieval vs. unnamed listing), which the annotations do not convey.

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 sentences, no filler, with the operative instruction ('call before building a new page') placed ahead of the edge case. The opening sentence is a dense noun phrase with a long parenthetical list, which delays the verb slightly, but nothing is redundant.

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?

With only two fully documented optional parameters and no output schema, the description carries the burden of explaining what comes back — and it does, at a useful level of abstraction (files, component mapping, rules). The framework-default behaviour is left to the schema, which is acceptable given 100% coverage.

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 coverage is 100%, so both parameters are already documented in the schema, including the enum values and the framework-detection mapping — that sets the baseline at 3. The one genuine addition is the meaning of omitting 'name' (it switches to listing templates rather than failing), which the schema marks optional without explaining the consequence.

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 names the resource precisely — a whole page (list, detail, form, settings, dashboard, sign-in) assembled from the organisation's components and spacing scale — and enumerates the return payload: files to create, component-to-slot mapping, and page rules. It implicitly separates itself from component-level siblings by emphasising 'a whole page', but never names an alternative tool explicitly.

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?

'Call before building a new page or screen' gives a clear trigger point in the workflow, and 'Without a name, lists the templates' documents the enumeration mode. What is missing is any negative guidance — e.g. when to reach for get_component_docs or find_component instead of a page template — so the agent must infer the boundary.

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