Skip to main content
Glama

wp_get_comment

Retrieve a single WordPress comment by ID to view its content, author, and status for moderation or display.

Instructions

Retrieves a single comment by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe unique identifier for the comment.
siteNoThe ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.9.2

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states it 'retrieves' (implying read-only), but doesn't clarify authentication requirements, rate limits, error handling (e.g., what happens if ID doesn't exist), or response format. For a read operation with zero annotation coverage, this leaves significant gaps in understanding how the tool behaves beyond its basic function.

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, clear sentence with zero wasted words. It's front-loaded with the core action and resource, making it immediately understandable. Every word earns its place by conveying essential information without redundancy.

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?

Given the tool's low complexity (simple retrieval), high schema coverage (100%), and lack of output schema, the description is minimally adequate. It covers the basic 'what' but misses behavioral context (especially with no annotations) and usage guidance. For a read operation in a crowded sibling set, more context would help the agent use it appropriately.

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%, with both parameters (site and id) well-documented in the schema. The description adds no additional parameter semantics beyond what the schema already provides—it doesn't explain ID format, site configuration details, or parameter interactions. Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the action ('Retrieves') and resource ('a single comment by its ID'), making the purpose specific and unambiguous. It distinguishes from sibling tools like wp_list_comments (which lists multiple comments) and wp_create_comment (which creates comments). However, it doesn't explicitly mention the WordPress context or differentiate from other 'get' tools like wp_get_post.

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 guidance on when to use this tool versus alternatives. It doesn't mention when to choose wp_get_comment over wp_list_comments for single vs. multiple comments, or when to use it in relation to wp_update_comment or wp_delete_comment. There's no context about prerequisites, error conditions, or typical workflows.

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