Skip to main content
Glama

Update widget properties

appsmith_update_widget

Updates widget properties on an Appsmith page, setting values or dynamic {{ }} bindings while automatically managing binding registration and leaving other widgets untouched.

Instructions

Sets properties on a widget, e.g. {"isDisabled": "{{ appsmith.store.modo === "edicion" }}"}. Binding registration is handled automatically: a value containing {{ }} is added to the widget's dynamicBindingPathList, and a literal value is removed from it. Property names may be dot paths for nested config. Other widgets on the page are left untouched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesPage id.
propertiesYesProperties to set, as {"name": value}. Values may be literals or {{ }} bindings.
widgetNameYesWidget name as shown in the editor, e.g. spoa.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It meaningfully discloses the side-effect behavior: automatic binding registration into dynamicBindingPathList, literal removal, dot-path support for nested config, and non-interference with other widgets. This is genuinely useful behavioral context beyond what the schema shows.

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

Conciseness5/5

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

Three sentences, all information-dense with no filler. Each sentence earns its place: the example illustrates usage, the second explains the binding auto-registration mechanism, and the third clarifies dot-path support and scope isolation. Efficiently front-loaded with the core purpose first.

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?

This is a mutation tool with no annotations and no output schema, so the description must cover behavior. It does well explaining the binding mechanics, dot-path support, and lack of side effects on other widgets. It doesn't cover error cases or whether it returns confirmation, but for an update-widget tool with simple parameters, the coverage is reasonably complete. Nested objects are handled by explaining the flexible properties structure.

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 adds value by elaborating on the 'properties' parameter semantics—explaining how values with {{ }} become bindings versus literals, and that property names may be dot paths for nested config. This goes beyond the schema's brief parameter descriptions.

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?

The description states a specific verb ('Sets') with a resource ('properties on a widget') and includes a concrete example. It clearly distinguishes from siblings like appsmith_clone_widget, appsmith_get_widget, and other creation/deletion tools by focusing specifically on updating widget properties.

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?

The description explains binding registration behavior (when values contain {{ }} vs literals), which gives clear context on how the tool processes property values. It also states that 'Other widgets on the page are left untouched,' implying scope. However, it doesn't explicitly name alternatives or state when NOT to use this tool (e.g., when to use appsmith_update_query or update_js_object instead), though the widget-specific focus makes this fairly clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Davidgraciano/appsmith-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server