Skip to main content
Glama
thrashy

New Relic MCP Server

by thrashy

update_widget

Update an existing dashboard widget by modifying its title, NRQL query, type, layout, or advanced chart settings.

Instructions

Update an existing widget on a dashboard.

Use the optional raw_configuration parameter to control advanced chart display settings. When provided, it is sent as rawConfiguration to NerdGraph and takes precedence over the typed configuration. See the add_widget_to_dashboard description for the full rawConfiguration reference.

Update-specific notes:

  • Omit widget_type to keep the widget's current visualization.

  • Omit layout to keep the widget's current position and size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_guidYesPage GUID where the widget is located
widget_idYesWidget ID to update
widget_titleNoNew title for the widget
widget_queryNoNew NRQL query for the widget
widget_typeNoNew widget type (line, area, bar, pie, table, billboard, etc.). Omit to keep the widget's current visualization.
raw_configurationNoAdvanced chart display configuration sent as rawConfiguration to NerdGraph. Must include 'nrqlQueries' array with accountIds (array, not scalar). Supports: yAxisLeft ({min, max, zero}), yAxisRight ({zero, series:[{name}]}), legend ({enabled}), facet ({showOtherSeries}), platformOptions ({ignoreTimeRange}), thresholds ({isLabelVisible}), chartStyles ({lineInterpolation: linear/step/smooth}), markers ({displayedTypes: {deployments, relatedDeployments, criticalViolations, warningViolations}}). Note: logarithmic scale is NOT supported. Overrides the typed configuration when provided.
layoutNoNew widget placement on the dashboard's 12-column grid. Omit to keep the widget's current position and size.
Behavior3/5

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

With no annotations, the description carries full burden. It discloses that raw_configuration takes precedence over typed configuration and that omitting fields keeps current values, but does not mention side effects, permissions, or reversibility of updates.

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?

Moderate length with clear front-loading of purpose. The 'Update-specific notes' section is somewhat redundant but overall efficient. Could be slightly tighter but is well-organized.

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?

Given 7 parameters, nested objects, and no output schema, the description covers key usage aspects and references add_widget_to_dashboard for full raw_configuration reference. Lacks return value info but is otherwise complete.

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 explaining raw_configuration in detail (including nrqlQueries array requirement and precedence) and clarifying omission behavior for widget_type and layout.

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 explicitly states 'Update an existing widget on a dashboard', clearly identifying the verb (update) and resource (widget on dashboard). It distinguishes from sibling tools like add_widget_to_dashboard and delete_widget.

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?

Provides clear context for optional raw_configuration parameter and notes on omitting fields to retain current values. However, it lacks explicit guidance on when to use this tool versus other update or widget tools among siblings.

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/thrashy/mcp-newrelic'

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