Skip to main content
Glama

Nova Cast

Update Component

update_component
Destructive

Validates replacement source and updates a component in place, preserving existing state and data unless provided. Failed rendering retains the previous version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
stateNo
titleYes
formatYes
sourceYesReact TSX or full HTML. Use a sized nova-video element: YouTube/Vimeo embed URLs play inline, other service URLs are unsupported; do not create launch buttons or placeholders; see /agent media guidance. Arbitrary nested frames stay blocked. Do not author clickable links or external-navigation buttons; keep interactions within the canvas and share external URLs in the agent conversation.
componentIDYes
operationIDYes
controlTokenYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is known. The description earns credit for adding behavior annotations cannot express: source is validated before applying, state/data are preserved when omitted, and a failed render leaves the previous version intact (atomic rollback). It still omits concurrency and auth behavior.

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?

Two sentences, no filler, with the action front-loaded before the safety/rollback clause. Dense but every clause conveys distinct behavior; slightly more scannable structure (e.g. separating guarantees from prerequisites) would help.

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

Completeness3/5

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

For a 9-parameter destructive mutation with nested objects and no output schema, the description covers the important rollback/preservation contract that annotations cannot. However it ignores concurrency control (expectedRevision), authorization (controlToken), and the operationID/cancel_operation lifecycle that the sibling list implies, leaving real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 11% (just the `source` field), and the description adds little: it alludes to `source` validation and mentions `state`/`data` preservation but never explains the seven required parameters, most notably expectedRevision (likely optimistic-concurrency) and controlToken (auth). With this low coverage the description should have compensated and does not.

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+resource ('updates a component in place') and adds a distinguishing modifier ('preserving existing state and data unless provided') that separates it from create_component and delete_component. It stops short of naming the closest sibling (set_component_data) or explicitly contrasting in-place replacement with full replacement, so an agent must still infer the boundaries.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of alternatives among the many siblings (create_component, queue_component, set_component_data). The clause 'unless provided' hints at an override pattern but does not tell the agent when to choose this tool over its neighbours.

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