Skip to main content
Glama

Edit Match-Pairs Question

edit_match_pair
DestructiveIdempotent

Edit one pair from a match-pair game: left item, right item, hint, explanation or difficulty. Pass pair_id = the pair's id (a UUID) from create_match_pair data.items[].pairs[].id, not its pair_id match key (like "pair_1"). Requires sign-in; you can only edit your own pairs.

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": {
      "pair_id": "<pair_id>"
    },
    "name": "edit_match_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintNoUpdated hint
pair_idYesThe pair's `id` (a UUID) from create_match_pair data.items[].pairs[].id. Not the `pair_id` match key (like "pair_1"). MUST be from the actual response, not invented.
left_itemNoUpdated left item
difficultyNoUpdated difficulty (1-5)
right_itemNoUpdated right item
explanationNoUpdated explanation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pair_id / description
      Previous value: -"The UUID from 'data.items[].id' field in create_match_pair response. MUST be from the actual response, not invented."New value: +"The pair's `id` (a UUID) from create_match_pair data.items[].pairs[].id. Not the `pair_id` match key (like \"pair_1\"). MUST be from the actual response, not invented."
    • removedInput schema / properties / pair_set
      Removed value: -{
      -  "description": "Updated pair set number",
      -  "type": "integer"
      -}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=true, and the description usefully adds the auth requirement and ownership scoping that annotations cannot express. The partial-update semantics ("Updated hint", "Updated left item") are implied by the field phrasing rather than stated outright, and the destructiveHint is left unexplained — an agent is not told that edits overwrite existing pair content irreversibly.

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 tight sentences, front-loaded with the action and field list, then the ID trap, then the auth constraint. No filler and no repetition beyond the deliberate ID clarification, which is the highest-risk mistake an agent could make here.

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 six-parameter mutation tool with no output schema, the description covers what the tool does, which fields change, how to source the ID, and the permission model. It stops short of describing partial-update guarantees (are omitted fields preserved?) and the response, which would round it out fully.

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 100%, including a full explanation of pair_id as a UUID versus the `pair_id` match key, so the schema already carries the parameter burden. The description's ID guidance duplicates the schema text almost verbatim rather than adding new meaning, which is the baseline-3 case.

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 opens with a specific verb and resource ("Edit one pair from a match-pair game") and enumerates the exact editable fields: left item, right item, hint, explanation, difficulty. An agent can immediately tell this is a single-field-level edit of an existing pair, distinct from create_match_pair or the other edit_* tools for different question types.

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?

It gives explicit prerequisites: the pair must already exist (sourced from create_match_pair's response), the caller must be signed in, and the caller must own the pair. The one gap is that it never states what to do if the pair_id is invalid or the pair belongs to someone else, so error-path guidance is absent.

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.