Skip to main content
Glama

Update Chapters Customizations

update_chapters_customizations
Destructive

Patch a Wistia media's chapter customizations, modifying only provided fields and deleting any field sent as null.

Instructions

Applies a partial update to a media's chapter customizations. Only the fields supplied are changed; sending a field as null deletes it.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token. Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.

Input Schema

NameRequiredDescriptionDefault
pluginNo
accountNoNamed private Wistia account; selects credentials, not a remote account ID.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete JSON request body instead of body flags. Supports current nested customization, caption and nullable values.
media_idYesThe hashed ID of the media to be customized.
payload_fileNoRegular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv3.0.0
    • addedInput schema / $defs
      Added value: +{
      +  "plugin": {
      +    "properties": {
      +      "audioChapters": {
      +        "properties": {
      +          "chapterList": {
      +            "items": {
      +              "properties": {
      +                "deleted": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "time": {
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object",
      +              "unevaluatedProperties": false
      +            },
      +            "type": "array"
      +          },
      +          "on": {
      +            "type": "boolean"
      +          },
      +          "visibleOnLoad": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object",
      +        "unevaluatedProperties": false
      +      },
      +      "chapters": {
      +        "properties": {
      +          "chapterList": {
      +            "description": "The ordered list of chapters.",
      +            "items": {
      +              "properties": {
      +                "deleted": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "time": {
      +                  "description": "Start time of the chapter, in seconds.",
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object",
      +              "unevaluatedProperties": false
      +            },
      +            "type": "array"
      +          },
      +          "on": {
      +            "description": "Whether chapters are enabled.",
      +            "type": "boolean"
      +          },
      +          "visibleOnLoad": {
      +            "description": "Whether the chapter list is visible when the player loads.",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object",
      +        "unevaluatedProperties": false
      +      }
      +    },
      +    "type": "object",
      +    "unevaluatedProperties": false
      +  }
      +}
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for the specific user-requested write."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / payload / properties / plugin / $ref
      Added value: +"#/$defs/plugin"
    • removedInput schema / properties / payload / properties / plugin / properties
      Removed value: -{
      -  "audioChapters": {
      -    "properties": {
      -      "chapterList": {
      -        "items": {
      -          "properties": {
      -            "deleted": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "time": {
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object",
      -          "unevaluatedProperties": false
      -        },
      -        "type": "array"
      -      },
      -      "on": {
      -        "type": "boolean"
      -      },
      -      "visibleOnLoad": {
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object",
      -    "unevaluatedProperties": false
      -  },
      -  "chapters": {
      -    "properties": {
      -      "chapterList": {
      -        "description": "The ordered list of chapters.",
      -        "items": {
      -          "properties": {
      -            "deleted": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "time": {
      -              "description": "Start time of the chapter, in seconds.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object",
      -          "unevaluatedProperties": false
      -        },
      -        "type": "array"
      -      },
      -      "on": {
      -        "description": "Whether chapters are enabled.",
      -        "type": "boolean"
      -      },
      -      "visibleOnLoad": {
      -        "description": "Whether the chapter list is visible when the player loads.",
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object",
      -    "unevaluatedProperties": false
      -  }
      -}
    • removedInput schema / properties / payload / properties / plugin / type
      Removed value: -"object"
    • removedInput schema / properties / payload / properties / plugin / unevaluatedProperties
      Removed value: -false
    • addedInput schema / properties / plugin / $ref
      Added value: +"#/$defs/plugin"
    • removedInput schema / properties / plugin / properties
      Removed value: -{
      -  "audioChapters": {
      -    "properties": {
      -      "chapterList": {
      -        "items": {
      -          "properties": {
      -            "deleted": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "time": {
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object",
      -          "unevaluatedProperties": false
      -        },
      -        "type": "array"
      -      },
      -      "on": {
      -        "type": "boolean"
      -      },
      -      "visibleOnLoad": {
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object",
      -    "unevaluatedProperties": false
      -  },
      -  "chapters": {
      -    "properties": {
      -      "chapterList": {
      -        "description": "The ordered list of chapters.",
      -        "items": {
      -          "properties": {
      -            "deleted": {
      -              "type": "string"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "time": {
      -              "description": "Start time of the chapter, in seconds.",
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object",
      -          "unevaluatedProperties": false
      -        },
      -        "type": "array"
      -      },
      -      "on": {
      -        "description": "Whether chapters are enabled.",
      -        "type": "boolean"
      -      },
      -      "visibleOnLoad": {
      -        "description": "Whether the chapter list is visible when the player loads.",
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object",
      -    "unevaluatedProperties": false
      -  }
      -}
    • removedInput schema / properties / plugin / type
      Removed value: -"object"
    • removedInput schema / properties / plugin / unevaluatedProperties
      Removed value: -false
  2. First observedv2.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing PATCH-style merge semantics ('only the fields supplied are changed; sending a field as null deletes it'), the authorization model, and side effects ('may share access, notify people or incur provider charges'). Annotations already flag destructiveHint, but the description adds the operational detail an agent needs before invoking.

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?

The core PATCH behavior is front-loaded in the first sentence, with permission boilerplate quarantined below. The auth prose is somewhat long relative to the one-line operational core, but nothing is misplaced or wasted.

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

Completeness4/5

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

For a mutation with nested objects, six parameters and no output schema, the description covers merge semantics, auth, the confirm gate and side effects. It is largely complete, with only the payload/payload_file body-flag interplay left entirely to the schema.

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 description coverage is 83%, so the baseline would be 3, but the description adds genuinely non-obvious semantics: that omitted fields are untouched and null values delete. That clarifies the meaning of unset/null nested fields far better than the schema alone, which carries no description on the nested chapterList items.

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?

States a specific verb and resource: 'Applies a partial update to a media's chapter customizations.' The qualifier 'chapter customizations' distinguishes it from the many sibling update_*_customizations tools, though it never names an alternative explicitly.

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

Usage Guidelines4/5

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

Gives real preconditions: required API token permissions, the delegate_to_contact_permissions option, and the confirm=true requirement for the mutation. It stops short of stating when to prefer this over update_customizations or create_customizations, leaving sibling selection to inference.

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

Deploy Server

Other Tools