Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: blocks of a page or template

describe_blocks
Read-onlyIdempotent

AddSynapse: Read-only tree of ONE design document with the id of EVERY block (or Elementor element): a page/post/synced pattern/Elementor template (page_id), a block-theme template (template = slug, e.g. single-product, archive-product, page, single, home, index, 404) or template part (template_part = slug, e.g. header, footer), or the homepage (front_page). Each block: {id, name (core/group, core/heading…), depth, parent, attrs (design attributes: colors, typography, spacing, layout, align, className…), text (excerpt), children}. Elementor documents: {id, type container|section|column|widget, widget (heading, text-editor, button, image…), settings (main keys), text}. Use the ids with plan_blocks_edit / plan_elementor_edit (they stay valid until the document changes). block returns only that block and what is inside it; large documents are truncated (ask for a block).

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": "describe_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
blockNo
page_idNo
templateNo
front_pageNo
template_partNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description goes beyond them by disclosing truncation of large documents, the scoping behavior of `block` (only that block and its contents), and the lifetime of returned ids ('stay valid until the document changes'). It does not cover failure modes (e.g., invalid page_id) or pagination/depth limits beyond the truncation note.

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 document-type selection guide before the return-shape details. It is dense and semicolon-heavy but nearly every clause carries selection-relevant information; the block/Elementor field lists are the bulkiest part and could be trimmed slightly.

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?

For a six-parameter, no-output-schema tool, the description supplies the return structure for both block and Elementor documents plus the truncation workaround, which is what an agent needs to call it and use the result. Remaining gap is what happens with conflicting or invalid selectors.

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

Parameters5/5

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

Schema description coverage is only 17%, so the description must carry parameter meaning — and it does: page_id, template (with concrete slug examples like single-product, archive-product, 404), template_part (header, footer), front_page, and block. Only `site` is left to the schema, and the schema documents it adequately.

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 ('Read-only tree of ONE design document') and enumerates exactly which document kinds it covers: page/post/synced pattern/Elementor template via page_id, block-theme templates via template slugs, template parts, and front_page. This is clearly distinguishable from the plan_* siblings, which consume the ids this tool returns.

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?

Explicitly positions the tool as the id source for plan_blocks_edit / plan_elementor_edit and tells the agent to request a specific `block` when a document is truncated. It does not contrast with other describe_* siblings (describe_site_design, describe_menus) or say whether multiple selectors may be combined.

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