Skip to main content
Glama

Get page elements catalog

get_page_elements_catalog
Read-only

The vocabulary for designing a folder's published page — read it BEFORE publishing with a template or writing any page element. Returns: templates (the valid template ids for publish_folder, each with its display name, default background/typography and the slots it mounts itself — a floor, not an inventory), element_types (the names of every element type), enum_sets, background_colors and typographies (the values update_page_settings accepts), operations (the argument map for apply_page_operations), and limits. The same for every workspace. The props of the element types are large (~40 KB together), so they come back only for the types named in the element_types argument, under elements: each type with the camelCase props it accepts, flagged html, url, asset_token or dead — a dead prop is stored but no longer rendered. A designed page is built from sections (up to 3 columns, each holding note and asset rows) under a banner hero, and its look comes from the style prop on notes and assets — gradients, cards, shadows, tilts, big type; read style on note before relying on color. There is no carousel or slideshow element: present a deck as ordered sections, or as a grid with horizontalView and autoScroll.

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_page_elements_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
element_typesNoElement types to return the props of, under `elements` (e.g. ['banner', 'button']). Without it the response lists the type names and no props. An unknown type is refused with the valid list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed4 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / properties / element_types / description
      Previous value: -"Return only these entries of `elements` (e.g. ['banner', 'button']). Everything else is always returned. An unknown type is refused with the valid list."New value: +"Element types to return the props of, under `elements` (e.g. ['banner', 'button']). Without it the response lists the type names and no props. An unknown type is refused with the valid list."
    • removedInput schema / required
      Removed value: -[
      -  "context"
      -]
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is free. The description nonetheless adds real context beyond them: the ~40 KB prop payload being gated behind the element_types argument, unknown types being refused with the valid list, and the semantic distinction of a `dead` prop (stored but no longer rendered). It does not describe pagination or response ordering, but for a read-only catalog that is minor.

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?

Front-loaded with the purpose and the imperative to read before writing, and every sentence carries information (dead props, no carousel, style-on-note guidance). It is, however, a single dense block of prose that would scan faster as short bullets separating return fields from design guidance.

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

Completeness5/5

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

One optional parameter, no output schema, and rich annotations — yet the description fully inventories the return payload itself and even explains how a designed page is structured (sections under a banner, style on notes/assets, the carousel workaround). An agent has everything needed to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already explains the element_types argument, including the fallback behavior and unknown-type refusal, so much of the description repeats it. The added value is the rationale — props total ~40 KB together, which explains why an agent should name types selectively rather than request everything.

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?

States a specific verb and resource ('vocabulary for designing a folder's published page') and enumerates exactly what the response contains: templates, element_types, enum_sets, background_colors, typographies, operations, limits. It clearly distinguishes itself from siblings like apply_page_operations, update_page_settings and publish_folder by being the lookup source they depend on.

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?

Gives an explicit, actionable imperative: read it BEFORE publishing with a template or writing any page element, and ties the returned `operations` map to apply_page_operations and the value sets to update_page_settings. It stops short of stating any when-not-to-use case, so it falls just under the top mark.

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