wordpress_create_role
Create custom user roles in WordPress to define specific permissions and access levels for different user types.
Instructions
Create a custom user role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| displayName | Yes |
Create custom user roles in WordPress to define specific permissions and access levels for different user types.
Create a custom user role
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| displayName | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'Create' implying a write operation, but doesn't mention critical details like required admin permissions, whether the role is immediately active, if it can be deleted later, or what happens on failure. This is inadequate for a mutation tool with zero annotation coverage.
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?
The description is a single, efficient sentence with no wasted words. It's front-loaded and appropriately sized for the tool's purpose, making it easy to parse quickly.
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 mutation tool with no annotations, 0% schema description coverage, and no output schema, the description is incomplete. It lacks details on behavior, parameters, return values, error handling, and integration with sibling tools, leaving significant gaps for an AI agent to use it correctly.
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?
Schema description coverage is 0%, so the schema only shows parameter names and types without explanations. The description adds no parameter semantics—it doesn't explain what 'role' and 'displayName' represent, their formats, constraints, or examples. This fails to compensate for the lack of schema descriptions.
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?
The description 'Create a custom user role' clearly states the action (create) and resource (custom user role), distinguishing it from sibling tools like 'wordpress_assign_role' or 'wordpress_delete_role'. However, it doesn't specify what makes a role 'custom' versus existing roles, which prevents a perfect score.
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 like 'wordpress_assign_role' for existing roles or 'wordpress_get_roles' to check existing ones. The description lacks context about prerequisites, such as required permissions or when custom roles are needed, leaving usage unclear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RaheesAhmed/wordpress-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server