Skip to main content
Glama

Get Element Details

elementor_get_element
Read-onlyIdempotent

Retrieve settings data for a specific Elementor element. Use the all, layout, or responsive filter to return only the keys you need and reduce output.

Instructions

Get settings data for a specific Elementor element. Use filter to reduce output: 'layout' returns only flex/width/overflow/gap/padding/margin keys, 'responsive' returns only _mobile/_tablet variants, 'all' returns everything.

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": {
      "postId": "<postId>",
      "elementId": "<elementId>"
    },
    "name": "elementor_get_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoFilter settings: 'all' (default), 'layout' (flex/width/overflow/gap/padding/margin), 'responsive' (only _mobile/_tablet keys)all
postIdYesWordPress post/page ID
elementIdYesElementor element ID (7-8 char hex string)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and repeatability are covered without the description. The description adds modest value by explaining that the filter narrows the returned settings keys, giving the agent a sense of output volume, but says nothing about the shape of the settings payload, error behavior for a missing element, or output size limits.

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, front-loaded with the action and resource, then immediately the output-control guidance. It is efficient, though the filter clause largely duplicates the enum descriptions already present in the schema and could have used that space to say what the settings object looks like.

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?

For a simple three-parameter, non-destructive read with no output schema, the description covers purpose and output narrowing adequately. It is still incomplete on return-value shape and on routing among the several sibling 'get' tools, which is the main decision an agent faces here.

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%, so the filter enum, postId, and elementId are already documented in the schema; the description's filter explanation essentially restates the enum values verbatim. No additional semantics (e.g., what happens with an invalid elementId, or whether postId must be the parent template) are added beyond the structured fields.

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 uses a specific verb and resource ('Get settings data for a specific Elementor element'), which is clearly distinct from mutating siblings like elementor_update_element or elementor_delete_element. It does not, however, distinguish itself from close read siblings such as elementor_get_element_context or elementor_get_element_selector, leaving the agent to infer which 'get' variant returns what.

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?

The only guidance is 'Use filter to reduce output', which is a parameter tip rather than a statement of when this tool is the right choice versus elementor_get_element_context, elementor_get_element_selector, or elementor_find_elements. Usage is implied by the tool name and purpose but never made explicit.

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