wordpress_get_capabilities
wordpress_get_capabilitiesRetrieve all capabilities assigned to a specific user role on your WordPress site.
Instructions
Get all capabilities for a user role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes |
wordpress_get_capabilitiesRetrieve all capabilities assigned to a specific user role on your WordPress site.
Get all capabilities for a user role
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes |
Changes observed during successful MCP inspections.
v1.0.0Input schema / $schemaAdded value: +"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesAdded value: +falseDoes the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, so the description carries the full burden. It only says 'Get' and implies a read operation, but does not disclose whether capabilities are inherited, whether admin permissions are required, or what the return structure looks like.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Every word earns its place; it is concise and to the point.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with one parameter and no output schema, the description gives the essential purpose but leaves gaps around output format and role input specifics. It is minimally viable but has clear missing context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one required 'role' parameter with 0% description coverage. The description mentions 'user role' but does not specify the expected format (slug, name, ID) or valid values, so it adds little beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states 'Get all capabilities for a user role' with a specific verb and resource. It does not explicitly differentiate from sibling tools like wordpress_get_roles or wordpress_check_user_capability, but the resource (capabilities) is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description does not mention exclusions, prerequisites, or why it should be preferred over related tools such as check_user_capability or get_roles.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.