Skip to main content
Glama

Update WooCommerce attribute

update_woocommerce_attribute
DestructiveIdempotent

Edit global attribute metadata using native fields and targeted originals.

Edits a store-wide attribute definition, not an individual value. Read list_woocommerce_attributes first; supply originals only for changed fields so conflicts are visible and unrelated fields remain intact. Reuse the same attemptId and identical payload only for a retry of the same intended action; a new action needs a new key. The returned native definition includes the attribute ID and saved settings. Use update_woocommerce_attribute_term to edit an individual value, such as a color or size.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": 8,
      "fields": {
        "name": "Color"
      },
      "expected": {
        "name": "Colour"
      },
      "attemptId": "806b3c01-f527-47ea-a824-38e4a75d832d",
      "projectPublishingId": 11
    },
    "name": "update_woocommerce_attribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGlobal WooCommerce attribute ID from list_woocommerce_attributes.
fieldsYesExplicit native fields to change. Omitted fields remain unchanged; read the current item and capabilities before constructing edits.
contextNoUser task for usage analytics. Omit private details.
expectedYesOriginal values read immediately before editing. Supply originals only for targeted fields so concurrent changes can be detected.
attemptIdYesCaller-generated ID for one operation. After an uncertain response, reuse this ID with the identical payload to recover or retry the same operation.
llm_modelNoExact model ID from the calling runtime. Send on every call when known. Omit if unavailable.
projectIdNoProject ID from list_projects. Omit to use the configured or sole accessible project.
projectPublishingIdYesWordPress connection ID from get_publishing_connections for the site or store that owns this record.

Output Schema

NameRequiredDescriptionDefault
dataNodata is the saved native attribute. Reuse its id for subsequent term or attribute operations.
successYesTrue when the tool returns normally.
executionTimeNoElapsed time, e.g. 0.12s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / then / properties / category / description
      Removed value: -"Failure class."
    • removedOutput schema / then / properties / error / description
      Removed value: -"Why the call failed."
    • removedOutput schema / then / properties / errorCode / description
      Removed value: -"Stable failure code."
    • removedOutput schema / then / properties / expected / description
      Removed value: -"Known failure."
    • removedOutput schema / then / properties / statusCode / description
      Removed value: -"HTTP error status."
  2. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Non-sensitive task summary for usage analytics."New value: +"User task for usage analytics. Omit private details."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Send on every call when known."New value: +"Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable."
  3. Changed1 schema field changed
    • changedInput schema / properties / context / description
      Previous value: -"Task label for usage analytics. Omit private details."New value: +"Non-sensitive task summary for usage analytics."
  4. Changed25 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "attemptId": "806b3c01-f527-47ea-a824-38e4a75d832d",
      +    "expected": {
      +      "name": "Colour"
      +    },
      +    "fields": {
      +      "name": "Color"
      +    },
      +    "id": 8,
      +    "projectPublishingId": 11
      +  }
      +]
    • changedInput schema / properties / context / description
      Previous value: -"Call purpose for analytics. Omit private details."New value: +"Task label for usage analytics. Omit private details."
    • addedInput schema / properties / context / examples
      Added value: +[
      +  "compare landing pages"
      +]
    • addedInput schema / properties / llm_model / examples
      Added value: +[
      +  "openai/gpt-5.4-mini"
      +]
    • removedOutput schema / description
      Removed value: -"Tool result. On failure, read error and any recovery message."
    • addedOutput schema / examples
      Added value: +[
      +  {
      +    "data": {
      +      "data": {
      +        "id": 8,
      +        "name": "Color",
      +        "slug": "pa_color"
      +      },
      +      "replayed": false
      +    },
      +    "success": true
      +  }
      +]
    • removedOutput schema / properties / action
      Removed value: -{
      -  "description": "Client response to the project chooser.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / category
      Removed value: -{
      -  "description": "Failure class.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / data / properties / data / properties / id / description
      Previous value: -"Stable ID for later reads or edits."New value: +"Record ID."
    • removedOutput schema / properties / data / properties / nextPage
      Removed value: -{
      -  "description": "Next page to request, or null at the end.",
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / total
      Removed value: -{
      -  "description": "Matching items across all pages.",
      -  "type": "number"
      -}
    • changedOutput schema / properties / data / required
      Previous value: -[
      -  "data"
      -]New value: +[
      +  "data",
      +  "replayed"
      +]
    • removedOutput schema / properties / details
      Removed value: -{
      -  "description": "Error-specific diagnostics.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / error
      Removed value: -{
      -  "description": "Reason the tool call failed.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / errorCode
      Removed value: -{
      -  "description": "Stable failure code, when available.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Duration in seconds with an s suffix."New value: +"Elapsed time, e.g. 0.12s."
    • removedOutput schema / properties / expected
      Removed value: -{
      -  "description": "Known failure condition.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / message
      Removed value: -{
      -  "description": "Outcome, required input, or recovery instructions.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / projects
      Removed value: -{
      -  "description": "Choose a projectId and retry.",
      -  "items": {
      -    "properties": {
      -      "id": {
      -        "description": "Project ID to pass as projectId.",
      -        "type": "number"
      -      },
      -      "name": {
      -        "description": "Project name to show in the chooser.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / retryable
      Removed value: -{
      -  "description": "Safe to retry unchanged.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / statusCode
      Removed value: -{
      -  "description": "HTTP status of the failure, if set.",
      -  "type": "integer"
      -}
    • changedOutput schema / properties / success / description
      Previous value: -"True when the tool ran successfully."New value: +"True when the tool returns normally."
    • removedOutput schema / properties / upgrade
      Removed value: -{
      -  "description": "Plan upgrade options.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / url
      Removed value: -{
      -  "description": "Recovery or completion link.",
      -  "type": "string"
      -}
    • addedOutput schema / then / properties
      Added value: +{
      +  "action": {
      +    "description": "Project chooser action.",
      +    "type": "string"
      +  },
      +  "category": {
      +    "description": "Failure class.",
      +    "type": "string"
      +  },
      +  "details": {
      +    "description": "Error-specific diagnostics.",
      +    "type": "object"
      +  },
      +  "error": {
      +    "description": "Why the call failed.",
      +    "type": "string"
      +  },
      +  "errorCode": {
      +    "description": "Stable failure code.",
      +    "type": "string"
      +  },
      +  "expected": {
      +    "description": "Known failure.",
      +    "type": "boolean"
      +  },
      +  "message": {
      +    "description": "Recovery instructions.",
      +    "type": "string"
      +  },
      +  "projects": {
      +    "description": "Choose a projectId and retry.",
      +    "items": {
      +      "properties": {
      +        "id": {
      +          "description": "Pass as projectId.",
      +          "type": "number"
      +        },
      +        "name": {
      +          "description": "Project name to show in the chooser.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "retryable": {
      +    "description": "Safe to retry unchanged.",
      +    "type": "boolean"
      +  },
      +  "statusCode": {
      +    "description": "HTTP error status.",
      +    "type": "integer"
      +  },
      +  "upgrade": {
      +    "description": "Plan upgrade options.",
      +    "type": "object"
      +  },
      +  "url": {
      +    "description": "Recovery or completion link.",
      +    "type": "string"
      +  }
      +}
  5. Changed7 schema fields changed
    • changedInput schema / properties / attemptId / description
      Previous value: -"Caller-generated identifier for one intended mutation. Reuse it with the identical payload after an uncertain response; use a new identifier for a different intended action."New value: +"Caller-generated ID for one operation. After an uncertain response, reuse this ID with the identical payload to recover or retry the same operation."
    • changedInput schema / properties / context / description
      Previous value: -"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."New value: +"Call purpose for analytics. Omit private details."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."New value: +"Exact model ID from the calling runtime for usage attribution. Send on every call when known."
    • changedInput schema / properties / projectId / description
      Previous value: -"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."New value: +"Project ID from list_projects. Omit to use the configured or sole accessible project."
    • addedInput schema / properties / projectId / examples
      Added value: +[
      +  42
      +]
    • changedInput schema / properties / projectPublishingId / description
      Previous value: -"Atomic publishing connection ID from get_publishing_connections, not the provider site or post ID."New value: +"WordPress connection ID from get_publishing_connections for the site or store that owns this record."
    • changedOutput schema / description
      Previous value: -"Read data for the tool result. On failure, read error and any recovery message."New value: +"Tool result. On failure, read error and any recovery message."
  6. Changed23 schema fields changed
    • changedOutput schema / description
      Previous value: -"On success read data. On failure read error and errorCode."New value: +"Read data for the tool result. On failure, read error and any recovery message."
    • addedOutput schema / else
      Added value: +{
      +  "required": [
      +    "data"
      +  ]
      +}
    • addedOutput schema / if
      Added value: +{
      +  "properties": {
      +    "success": {
      +      "const": false
      +    }
      +  }
      +}
    • addedOutput schema / properties / action
      Added value: +{
      +  "description": "Client response to the project chooser.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / data / properties / data / description
      Previous value: -"Result items or operation data inside this returned payload. Pagination fields describe only this result page."New value: +"Items or result for this call."
    • changedOutput schema / properties / data / properties / data / properties / id / description
      Previous value: -"Identifier of this returned resource. Use it for subsequent reads or edits of the same resource."New value: +"Stable ID for later reads or edits."
    • changedOutput schema / properties / data / properties / data / properties / name / description
      Previous value: -"Human-readable name of this resource."New value: +"Display name."
    • changedOutput schema / properties / data / properties / data / properties / type / description
      Previous value: -"Kind of the returned item; determines how its operation-specific fields should be interpreted."New value: +"Kind of item returned."
    • removedOutput schema / properties / data / properties / nextPage / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • changedOutput schema / properties / data / properties / nextPage / description
      Previous value: -"Next page to request when more results exist; use the returned value rather than constructing a cursor."New value: +"Next page to request, or null at the end."
    • addedOutput schema / properties / data / properties / nextPage / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / replayed / description
      Previous value: -"Whether this response reuses the recorded outcome of an earlier attempt rather than performing a new write."New value: +"True when returning a previous write outcome."
    • changedOutput schema / properties / data / properties / total / description
      Previous value: -"Total number of matching items across all result pages."New value: +"Matching items across all pages."
    • changedOutput schema / properties / details / description
      Previous value: -"Additional diagnostics for the reported failure code."New value: +"Error-specific diagnostics."
    • changedOutput schema / properties / errorCode / description
      Previous value: -"Machine-readable failure code for choosing a recovery action."New value: +"Stable failure code, when available."
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed seconds with s suffix."New value: +"Duration in seconds with an s suffix."
    • changedOutput schema / properties / projects / items / properties / id / description
      Previous value: -"Project ID for projectId."New value: +"Project ID to pass as projectId."
    • changedOutput schema / properties / projects / items / properties / name / description
      Previous value: -"Project name to show when asking the user to choose."New value: +"Project name to show in the chooser."
    • addedOutput schema / properties / projects / items / required
      Added value: +[
      +  "id",
      +  "name"
      +]
    • changedOutput schema / properties / statusCode / description
      Previous value: -"HTTP-style status."New value: +"HTTP status of the failure, if set."
    • changedOutput schema / properties / statusCode / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / success / description
      Previous value: -"Whether the call succeeded."New value: +"True when the tool ran successfully."
    • addedOutput schema / then
      Added value: +{
      +  "required": [
      +    "error"
      +  ]
      +}
  7. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."New value: +"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."New value: +"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."
  8. Changed22 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log. Exclude private content and personal data."New value: +"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact runtime model ID for usage attribution. Report on every call when known; never guess or ask."New value: +"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."
    • changedInput schema / properties / projectId / description
      Previous value: -"Accessible Atomic project ID from list_projects. Defaults to the configured project."New value: +"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."
    • addedOutput schema / properties / data / description
      Added value: +"data is the saved native attribute. Reuse its id for subsequent term or attribute operations."
    • removedOutput schema / properties / data / properties / data / properties / alt_text
      Removed value: -{
      -  "description": "Saved accessible alternative text on the native WordPress media record.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / caption
      Removed value: -{
      -  "description": "Native media caption with raw/rendered values when supplied.",
      -  "properties": {
      -    "raw": {
      -      "type": "string"
      -    },
      -    "rendered": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / data / properties / data / properties / count
      Removed value: -{
      -  "description": "Number of records reported by the provider for this group.",
      -  "type": "number"
      -}
    • removedOutput schema / properties / data / properties / data / properties / description
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "properties": {
      -        "raw": {
      -          "type": "string"
      -        },
      -        "rendered": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    }
      -  ],
      -  "description": "Saved description of this resource or its purpose."
      -}
    • removedOutput schema / properties / data / properties / data / properties / link
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / media_type
      Removed value: -{
      -  "description": "WordPress media category, such as image or file.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / mime_type
      Removed value: -{
      -  "description": "Native MIME type of this media record.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / parent
      Removed value: -{
      -  "description": "Native parent record ID; zero denotes the provider root when applicable.",
      -  "type": "number"
      -}
    • removedOutput schema / properties / data / properties / data / properties / source_url
      Removed value: -{
      -  "description": "Provider URL of the media asset.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / status
      Removed value: -{
      -  "description": "Current saved or execution state reported by the operation.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / taxonomy
      Removed value: -{
      -  "description": "Native taxonomy slug owning this term.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / data / properties / title
      Removed value: -{
      -  "description": "Display or content title of this returned item.",
      -  "properties": {
      -    "raw": {
      -      "type": "string"
      -    },
      -    "rendered": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / details / description
      Added value: +"Additional diagnostics for the reported failure code."
    • addedOutput schema / properties / error / description
      Added value: +"Reason the tool call failed."
    • addedOutput schema / properties / errorCode / description
      Added value: +"Machine-readable failure code for choosing a recovery action."
    • addedOutput schema / properties / message / description
      Added value: +"Outcome, required input, or recovery instructions."
    • addedOutput schema / properties / projects / items / properties / name / description
      Added value: +"Project name to show when asking the user to choose."
    • addedOutput schema / properties / success / description
      Added value: +"Whether the call succeeded."
  9. Changed20 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Short purpose of this call for the activity log. Exclude personal data and private source content."New value: +"Purpose for the activity log. Exclude private content and personal data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Use the exact model ID executing this call, from runtime/system context, for usage attribution. Supply it on every Atomic MCP tool call, including discovery and feedback, and update it if the model changes. Use the model ID rather than the client app name. If unavailable, omit it; never guess or ask the user."New value: +"Exact runtime model ID for usage attribution. Report on every call when known; never guess or ask."
    • changedInput schema / properties / projectId / description
      Previous value: -"Atomic project ID from list_projects. Omit to use the configured project; if asked to choose, select one of the accessible returned IDs."New value: +"Accessible Atomic project ID from list_projects. Defaults to the configured project."
    • changedOutput schema / description
      Previous value: -"Operation result envelope."New value: +"On success read data. On failure read error and errorCode."
    • changedOutput schema / properties / category / description
      Previous value: -"Failure category, such as invalid_input or plan_required."New value: +"Failure class."
    • removedOutput schema / properties / data / description
      Removed value: -"Operation data; optional fields may be absent."
    • removedOutput schema / properties / details / description
      Removed value: -"Diagnostics keyed by errorCode."
    • removedOutput schema / properties / error / description
      Removed value: -"Why the operation failed."
    • removedOutput schema / properties / errorCode / description
      Removed value: -"Failure code for recovery."
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed seconds, suffixed s."New value: +"Elapsed seconds with s suffix."
    • changedOutput schema / properties / expected / description
      Previous value: -"Anticipated access, input, plan or state failure."New value: +"Known failure condition."
    • removedOutput schema / properties / message / description
      Removed value: -"Outcome/recovery. Project selection means no action ran."
    • changedOutput schema / properties / projects / description
      Previous value: -"Accessible project choices. Select a projectId and retry."New value: +"Choose a projectId and retry."
    • removedOutput schema / properties / projects / items / description
      Removed value: -"Accessible project."
    • removedOutput schema / properties / projects / items / properties / name / description
      Removed value: -"Project name."
    • changedOutput schema / properties / retryable / description
      Previous value: -"Whether an unchanged request can be retried."New value: +"Safe to retry unchanged."
    • changedOutput schema / properties / statusCode / description
      Previous value: -"HTTP-style failure status."New value: +"HTTP-style status."
    • removedOutput schema / properties / success / description
      Removed value: -"Success flag; on false inspect error/errorCode."
    • changedOutput schema / properties / upgrade / description
      Previous value: -"Plan-upgrade guidance for an unavailable capability."New value: +"Plan upgrade options."
    • changedOutput schema / properties / url / description
      Previous value: -"Link for resolving the failure or completing the operation."New value: +"Recovery or completion link."
  10. Changed4 schema fields changed
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed time in seconds, with an s suffix."New value: +"Elapsed seconds, suffixed s."
    • changedOutput schema / properties / expected / description
      Previous value: -"Whether this is an anticipated access, input, plan or state failure."New value: +"Anticipated access, input, plan or state failure."
    • changedOutput schema / properties / message / description
      Previous value: -"Outcome or recovery instructions. Project selection means no action ran."New value: +"Outcome/recovery. Project selection means no action ran."
    • changedOutput schema / properties / success / description
      Previous value: -"Operation success; on false inspect error/errorCode."New value: +"Success flag; on false inspect error/errorCode."
  11. Changed31 schema fields changed
    • changedInput schema / properties / attemptId / description
      Previous value: -"Client-created UUID for one intended publication or write attempt. Reuse it only when retrying that same attempt; use a new value for a new intended change."New value: +"Caller-generated identifier for one intended mutation. Reuse it with the identical payload after an uncertain response; use a new identifier for a different intended action."
    • changedInput schema / properties / context / description
      Previous value: -"Optional goal, max 8 words. No personal data."New value: +"Short purpose of this call for the activity log. Exclude personal data and private source content."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Include llm_model in every Atomic MCP tool call, including discovery and feedback calls. Use the exact model ID running this call from your runtime or system context, and update it if your model changes. Use the model ID, not the client app name. If the exact ID is unavailable, omit llm_model; never guess or ask the user."New value: +"Use the exact model ID executing this call, from runtime/system context, for usage attribution. Supply it on every Atomic MCP tool call, including discovery and feedback, and update it if the model changes. Use the model ID rather than the client app name. If unavailable, omit it; never guess or ask the user."
    • changedInput schema / properties / projectId / description
      Previous value: -"Optional Atomic project id. Omit this unless the tool response asks you to choose a project."New value: +"Atomic project ID from list_projects. Omit to use the configured project; if asked to choose, select one of the accessible returned IDs."
    • changedInput schema / properties / projectPublishingId / description
      Previous value: -"Atomic publishing connection identifier from get_publishing_connections. It identifies the connected site, not a CMS item."New value: +"Atomic publishing connection ID from get_publishing_connections, not the provider site or post ID."
    • removedOutput schema / additionalProperties
      Removed value: -true
    • changedOutput schema / description
      Previous value: -"Update WooCommerce attribute result. success describes the Atomic operation; data contains its returned result."New value: +"Operation result envelope."
    • changedOutput schema / properties / category / description
      Previous value: -"Failure category, such as invalid_input, not_found, precondition or plan_required."New value: +"Failure category, such as invalid_input or plan_required."
    • removedOutput schema / properties / data / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / data / description
      Previous value: -"Successful update woocommerce attribute payload. Object fields and nested collections below describe the returned data; optional fields may be absent."New value: +"Operation data; optional fields may be absent."
    • addedOutput schema / properties / data / properties / data / properties
      Added value: +{
      +  "alt_text": {
      +    "description": "Saved accessible alternative text on the native WordPress media record.",
      +    "type": "string"
      +  },
      +  "caption": {
      +    "description": "Native media caption with raw/rendered values when supplied.",
      +    "properties": {
      +      "raw": {
      +        "type": "string"
      +      },
      +      "rendered": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "count": {
      +    "description": "Number of records reported by the provider for this group.",
      +    "type": "number"
      +  },
      +  "description": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "properties": {
      +          "raw": {
      +            "type": "string"
      +          },
      +          "rendered": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    ],
      +    "description": "Saved description of this resource or its purpose."
      +  },
      +  "has_archives": {
      +    "description": "Whether this WooCommerce attribute enables public archives.",
      +    "type": "boolean"
      +  },
      +  "id": {
      +    "description": "Identifier of this returned resource. Use it for subsequent reads or edits of the same resource.",
      +    "type": "number"
      +  },
      +  "link": {
      +    "type": "string"
      +  },
      +  "media_type": {
      +    "description": "WordPress media category, such as image or file.",
      +    "type": "string"
      +  },
      +  "mime_type": {
      +    "description": "Native MIME type of this media record.",
      +    "type": "string"
      +  },
      +  "name": {
      +    "description": "Human-readable name of this resource.",
      +    "type": "string"
      +  },
      +  "order_by": {
      +    "description": "Native ordering policy for WooCommerce attribute terms.",
      +    "type": "string"
      +  },
      +  "parent": {
      +    "description": "Native parent record ID; zero denotes the provider root when applicable.",
      +    "type": "number"
      +  },
      +  "slug": {
      +    "description": "Saved URL slug or native CMS slug of this item.",
      +    "type": "string"
      +  },
      +  "source_url": {
      +    "description": "Provider URL of the media asset.",
      +    "type": "string"
      +  },
      +  "status": {
      +    "description": "Current saved or execution state reported by the operation.",
      +    "type": "string"
      +  },
      +  "taxonomy": {
      +    "description": "Native taxonomy slug owning this term.",
      +    "type": "string"
      +  },
      +  "title": {
      +    "description": "Display or content title of this returned item.",
      +    "properties": {
      +      "raw": {
      +        "type": "string"
      +      },
      +      "rendered": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": {
      +    "description": "Kind of the returned item; determines how its operation-specific fields should be interpreted.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / data / properties / data / required
      Added value: +[
      +  "id"
      +]
    • addedOutput schema / properties / data / properties / data / type
      Added value: +"object"
    • removedOutput schema / properties / details / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / details / description
      Previous value: -"Structured diagnostics for the failure; fields depend on the reported errorCode."New value: +"Diagnostics keyed by errorCode."
    • changedOutput schema / properties / error / description
      Previous value: -"Explanation of why the operation could not complete."New value: +"Why the operation failed."
    • changedOutput schema / properties / errorCode / description
      Previous value: -"Machine-readable failure code used to choose a recovery action."New value: +"Failure code for recovery."
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed tool execution duration, expressed in seconds with an s suffix."New value: +"Elapsed time in seconds, with an s suffix."
    • changedOutput schema / properties / expected / description
      Previous value: -"Whether this is an anticipated validation, access, plan or state failure."New value: +"Whether this is an anticipated access, input, plan or state failure."
    • changedOutput schema / properties / message / description
      Previous value: -"User-facing outcome or recovery instructions. A project-selection message means no tool action has run yet."New value: +"Outcome or recovery instructions. Project selection means no action ran."
    • changedOutput schema / properties / projects / description
      Previous value: -"Accessible project choices. Ask which project to use, then rerun with the chosen projectId."New value: +"Accessible project choices. Select a projectId and retry."
    • removedOutput schema / properties / projects / items / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / projects / items / description
      Previous value: -"Project choice with its workspace context."New value: +"Accessible project."
    • changedOutput schema / properties / projects / items / properties / id / description
      Previous value: -"Atomic project ID to supply as projectId."New value: +"Project ID for projectId."
    • changedOutput schema / properties / projects / items / properties / name / description
      Previous value: -"Project display name."New value: +"Project name."
    • changedOutput schema / properties / retryable / description
      Previous value: -"Whether retrying the same request without a corrective action is appropriate."New value: +"Whether an unchanged request can be retried."
    • changedOutput schema / properties / statusCode / description
      Previous value: -"HTTP-style status associated with the tool failure, when available."New value: +"HTTP-style failure status."
    • changedOutput schema / properties / success / description
      Previous value: -"Whether the Atomic tool completed successfully. On false, inspect error, errorCode and message before retrying."New value: +"Operation success; on false inspect error/errorCode."
    • removedOutput schema / properties / upgrade / additionalProperties
      Removed value: -true
    • changedOutput schema / properties / upgrade / description
      Previous value: -"Plan-upgrade guidance when the selected project does not include this capability."New value: +"Plan-upgrade guidance for an unavailable capability."
    • changedOutput schema / properties / url / description
      Previous value: -"URL relevant to resolving the failure or completing the operation."New value: +"Link for resolving the failure or completing the operation."
  12. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description doesn't need to re-establish risk; instead it adds real operational context — that supplied originals make conflicts visible, that unrelated fields remain intact, and that attemptId is only reusable for an identical retry of the same intent. It stops short of saying explicitly what gets overwritten or what a conflict response looks like, which is the remaining gap for a destructive mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the one-sentence scope statement, then prerequisites, retry semantics, and the sibling pointer in a sensible order. A few clauses echo the schema ('supply originals only for changed fields'), but nothing is padded or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters including nested objects, an output schema, and destructive semantics, the description covers the prerequisite read, partial-edit rules, idempotency recovery, and even the shape of the returned definition. Nothing an agent needs in order to call it correctly is missing.

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?

Schema coverage is 100%, so baseline is 3; the description earns a bump by explaining the interaction between fields, expected, and attemptId as a conflict-detection workflow rather than restating them. The attemptId paragraph in particular adds the retry-vs-new-action distinction that is easy to get wrong from the schema alone.

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?

States a specific verb and resource ('Edit global attribute metadata') and immediately bounds the scope with 'Edits a store-wide attribute definition, not an individual value,' which distinguishes it from update_woocommerce_attribute_term without needing either schema.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite ('Read list_woocommerce_attributes first'), a construction rule for partial edits, and a named alternative for the adjacent case ('Use update_woocommerce_attribute_term to edit an individual value, such as a color or size'). The agent knows both when to pick this tool and when not to.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources