Skip to main content
Glama

create_page

Creates a Grist page with one or more widgets, configurable layouts, and master-detail linking in a single call.

Instructions

Create a new page with one or more widgets (grid, card, chart, form, etc.). Supports configuring layout and master-detail linking between widgets in a single call.

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>",
      "widgets": "<widgets>"
    },
    "name": "create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPage name
doc_idNoDocument ID
layoutNoLayout preset for arranging widgets. Default: stacked
widgetsYesWidgets to place on this page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It identifies this as a creation operation and mentions layout/linking configuration, but omits permissions, idempotency, side effects, and what is returned or what happens on failure.

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?

Two sentences, front-loaded with the action and scope. There is no filler; 'etc.' is the only minor vagueness.

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 schema is rich and self-documenting, but this is an unannotated mutation creating a complex nested page with no output schema. The description gives a sufficient high-level picture but does not cover creation semantics or result behavior an agent might need.

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 the schema already documents all four parameters, including enums and widget types. The description adds only a high-level mention of layout and linking, with no extra format or constraints beyond what the schema provides.

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 states a specific verb and resource ('Create a new page') and clarifies the widget scope ('one or more widgets'). It hints at differentiation from piecemeal siblings via 'in a single call,' but does not explicitly name alternatives like add_widget_to_page or configure_page_layout.

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 usage when creating a page with multiple widgets and needing layout or master-detail linking in one call. However, it never states when to prefer the granular siblings or any prerequisites or exclusions.

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