Update Tag Description
Changes the description of an existing post tag. The name and slug are not affected. Pass an empty string to clear the description.
| Property | Value |
|---|---|
| Ability slug | mosmcp/tag-update-description |
| Wire tool name | mosmcp__tag-update-description |
| Category | Tags (mosmcp-tags) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | manage_categories |
| Minimum default role | Editor |
| Annotations | readOnly: false · destructive: false · idempotent: true · openWorld: true |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The ID of the tag to update. |
| description | string | Yes | — | The new description. May be an empty string to clear it. |
Output schema
| Field | Type | Required |
|---|---|---|
| id | integer | Yes |
| name | string | Yes |
| description | string | Yes |
| edit_url | string |
Example
Sample prompt
Give the 'vegan' tag the description 'Plant-based recipes.'
Example request (json)
{
"jsonrpc": "2.0",
"id": 76,
"method": "tools/call",
"params": {
"name": "mosmcp__tag-update-description",
"arguments": {
"input": {
"id": 45,
"description": "Plant-based recipes."
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 76,
"result": {
"isError": false,
"structuredContent": {
"id": 45,
"name": "Vegan",
"description": "Plant-based recipes.",
"edit_url": "https://example.com/wp-admin/term.php?taxonomy=post_tag&tag_ID=45"
}
}
}
Edge cases / errors
- id does not exist → refused with tag_not_found.
- description as an empty string clears it.
- HTML tags are stripped (plain-text sanitizing).
| << Previous | Next >> |
|---|---|
| Rename Tag | Update Tag Slug |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.