Skip to main content
Glama

Get Widget Schema

elementor_get_widget_schema
Read-only

Get the control/prop schema for a specific Elementor widget or element. For v4 atomic widgets: returns props with types. For classic widgets: returns controls (name, type, options, defaults). Use elementor_list_widgets first to find available widget slugs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesWidget/element slug (e.g. "heading", "image", "container", "button")
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds genuine context beyond that: the return shape differs by widget generation (props+types vs controls with name/type/options/defaults), which is important since no output schema exists. It doesn't cover error behavior for an invalid slug.

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?

Three short sentences, no filler, front-loaded with the core action and immediately followed by the two return variants and the discovery prerequisite. Every sentence carries information an agent needs.

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 no output schema, the description correctly takes on the burden of describing what comes back in each widget generation, which is the key unknown for a schema-lookup tool. It is essentially complete for a read-only getter; only failure/not-found handling is unaddressed.

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 description coverage is 100% and both parameters are documented there (slug with examples like 'heading'/'image'/'container', plus the optional site_id). The description only refers to the slug obliquely via the list_widgets prerequisite, adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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 (get the control/prop schema for a specific widget/element) and splits the behavior into two clearly-named cases: v4 atomic widgets return props with types, classic widgets return controls. It also names elementor_list_widgets as the discovery sibling, so an agent can separate it from that tool without reading either schema.

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 gives explicit sequencing guidance ('Use elementor_list_widgets first to find available widget slugs'), which routes the agent to the right sibling before calling this one. It does not state when NOT to use it or what to do with an unknown slug, so it falls just short of the top band.

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