Skip to main content
Glama

Edit widgets

edit_widgets
Destructive

Create, update or delete a widget, through the Telemetry Machine REST API (https://telemetrymachine.com/docs/api.md). The body of create and update is a widget, as its JSON Schema describes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "edit_widgets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
bodyNoThe JSON body the action takes.
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / additionalProperties
      Previous value: -{}New value: +true
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows deletions are possible and destructive. The description adds the useful fact that create/update take a widget-shaped body as documented by its JSON Schema, but it omits what delete actually destroys, whether update replaces or merges, and what the tool returns.

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 compact sentences, front-loaded with the operation and resource, with the doc URL attached inline. Tight and easy to parse; only the doc link is arguably extra weight.

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 destructive three-parameter mutation tool with a nested body object and no output schema, the description should say which parameters each action needs and what the response contains. It gets the API reference and body shape right but leaves an agent to infer the id/action coupling, which is central to calling it correctly.

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 description coverage is only 33%: 'body' has a generic one-line description and 'id' has none at all. The description clarifies that body is the widget for create/update, which is genuinely additive, but leaves the most consequential question unanswered — that id is presumably required to target an update or delete and unused for create.

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 set (create/update/delete) and a specific resource (widget), and names the backing system (Telemetry Machine REST API). It's clearly distinguishable from get_widgets, though it doesn't contrast itself with the other edit_* siblings beyond the resource noun.

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

Usage Guidelines3/5

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

The action enum in the schema implies when each mode applies, and the API doc link offers a path to more detail, but the description never says which action needs which parameters or when to prefer create vs update. No exclusions or prerequisites such as required permissions or id requirements are given.

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