Skip to main content
Glama

create_matching_item

Destructive

Add a scene quiz key/value pair. The key is the question and value is correct; other matching values supply distractors. Supports standard, spaced-repetition and in-game quizzes. Saves immediately without replacing other items.

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>",
      "key": "<key>",
      "value": "<value>"
    },
    "name": "create_matching_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesQuestion or prompt.
valueYesCorrect answer; other matching values supply distractors.
sceneIdYes
key_static_image_idNoExisting static image ID from get_game static_images in the scene game; null clears the image.
value_static_image_idNoExisting static image ID from get_game static_images in the scene game; null clears the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The description adds real behavioral facts beyond the annotations: the write is immediate and additive ('without replacing other items'). That partially offsets the destructiveHint=true flag, but the tension is never resolved — an agent reading the annotation would expect possible destruction and the description never explains why that hint is set or what state can be affected. Permission requirements and duplicate-key behavior are also unaddressed.

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?

Four short sentences, front-loaded with the action and followed by the data model, scope, and side effect. Slight redundancy with the schema's 'other matching values supply distractors' wording, but no filler.

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 five-parameter mutation tool with no output schema, the description covers the write semantics and quiz modes adequately but leaves gaps an agent would care about: what is returned, whether an existing key causes an error or is added alongside, and the meaning of sceneId, which the schema leaves undocumented.

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 coverage is high (80%), so the baseline is 3. The description reinforces the non-obvious distractor semantics of 'value' and the key/question pairing, but it says nothing about sceneId (the one parameter with no schema description) and does not explain the two static image parameters beyond what the schema already documents.

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?

Uses a specific verb+resource combination ('Add a scene quiz key/value pair') and immediately explains the key/value/distractor model, so an agent knows exactly what record shape this produces. It does not explicitly contrast itself with the sibling update_matching_item or create_multiple_choice, so differentiation is left partly to inference.

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 mention of 'standard, spaced-repetition and in-game quizzes' implies the contexts where this is appropriate, which is genuine usage context. However, there is no statement of when to use this versus update_matching_item (for existing entries) or get_scene_quiz_items (to inspect before adding), and no prerequisite or duplication handling guidance.

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