Skip to main content
Glama

royal-mcp__wp_get_widget

Read-onlyIdempotent

Get one widget instance by ID (for example text-2 or block-3), shaped like one item of wp_get_widgets: id, id_base, sidebar, instance settings, and for block widgets the parsed blocks. Use it before wp_update_widget. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

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": {
      "id": "<id>"
    },
    "name": "royal-mcp__wp_get_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWidget ID as returned by wp_get_widgets.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the 'read-only, runs straight away' line is largely a restatement. The genuinely additive part is the described return shape (id, id_base, sidebar, instance settings, parsed blocks for block widgets) and the named target site, which matter because there is no output schema.

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?

Front-loaded with the verb, resource and ID format, then the workflow hint, then the return shape. The site parenthetical and 'Through Royally' clause are short and the whole thing is two dense sentences with no filler.

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?

For a two-parameter, single-required-ID read tool with no output schema, the description covers identity, ID format, workflow position, target site and return shape. The only omission is error behavior for an unknown ID, which is minor for a low-complexity getter.

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%, so the baseline is 3, but the description adds value the schema lacks: concrete widget ID formats and the note that block widgets return parsed blocks. The site_id parameter is only echoed, not explained beyond the schema's own enum description.

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 one widget instance by ID) and pins the scope by contrasting it with wp_get_widgets ('shaped like one item of wp_get_widgets'). The concrete ID examples (text-2, block-3) make it unambiguous which tool to reach for versus the list tool.

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 sequencing rule ('Use it before wp_update_widget') and implicitly routes bulk listing to wp_get_widgets through the 'one item of' framing. It does not spell out a when-not condition (e.g. use wp_get_widgets when you don't know the ID), so it stops short of full routing guidance.

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