Skip to main content
Glama

update_matching_item

Destructive

Edit one matching quiz item in a scene. Supply only changed fields; omitted images and text are preserved, null clears an image. Get itemId from get_scene_quiz_items matchingItems.

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": {
      "sceneId": "<sceneId>",
      "itemId": "<itemId>",
      "updates": "<updates>"
    },
    "name": "update_matching_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYes
sceneIdYes
updatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is non-read-only, destructive, and closed-world, so the description need not restate the safety profile. It adds important patch behavior: unchanged images and text are preserved, while null explicitly clears an image.

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 short sentences, front-loaded with the core action and patch rule. Every sentence adds useful information without repetition.

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 destructive mutation tool with no output schema and nested parameters, the description covers the critical update semantics and itemId source. It could be more complete by explaining sceneId and whether the updated item is returned.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry the semantic burden. It explains patch semantics for updates and the source of itemId, but does not explain sceneId or the key/value fields in the updates object.

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?

States a specific verb and resource: edit one matching quiz item in a scene. The scope 'one' and 'matching quiz item' distinguish it from create_matching_item and from generic update tools.

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 a clear prerequisite by saying to get itemId from get_scene_quiz_items matchingItems. It implies use for existing items rather than creation, but does not explicitly name create_matching_item as the alternative for new items.

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