Skip to main content
Glama

wordpress_list_shortcodes

wordpress_list_shortcodes

Retrieve a list of all registered shortcodes in a WordPress site. Use this tool to identify available shortcodes for content management and customization.

Instructions

Get all registered WordPress shortcodes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
  2. First observed

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations, the description bears the full burden of disclosing behavioral traits. It only says 'Get all registered WordPress shortcodes', implying a read operation but not stating that it is read-only, what format the output takes, or that it does not execute shortcodes. The lack of any additional context (e.g., return structure, edge cases) makes it minimally transparent.

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?

The description is a single, short sentence with no extraneous words. It is front-loaded with the action and resource, making it easy to parse. Perfectly concise for a simple list operation.

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 parameterless read-only list tool, the description is largely sufficient. However, it does not mention any return format or clarify the scope of 'registered' (e.g., whether it includes shortcodes from plugins and themes). Given the absence of an output schema and the tool's simplicity, a 4 is appropriate rather than a 5.

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?

The tool has zero parameters, so the description does not need to explain parameter meanings. The baseline of 4 applies because there is nothing to compensate for; the schema already confirms no inputs are required.

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?

The description clearly states the action ('Get') and the resource ('all registered WordPress shortcodes'). It is specific and distinguishes itself from related tools like wordpress_execute_shortcode and wordpress_shortcode_exists by emphasizing the listing of all shortcodes rather than executing or checking existence.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus alternatives. While the sibling names imply distinctions (e.g., execute_shortcode runs a shortcode), the description itself does not mention any exclusions or preferred scenarios. This is a clear gap for a tool with many closely related siblings.

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

Deploy Server

Other Tools