Skip to main content
Glama

Edit Ranking Question

edit_ranking
DestructiveIdempotent

Edit existing ranking question content (question text, items, order type, hint, explanation, difficulty). Requires sign-in; you can only edit your own questions.

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": {
      "question_id": "<question_id>"
    },
    "name": "edit_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintNoUpdated hint
itemsNoUpdated items to rank
difficultyNoUpdated difficulty (1-5)
order_typeNoUpdated order type (ascending/descending)
explanationNoUpdated explanation
question_idYesThe UUID from 'data.items[].id' field in create_ranking response. MUST be from the actual response, not invented.
question_textNoUpdated question text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description usefully adds the authentication and ownership constraints, but leaves a critical ambiguity for a destructive edit: whether omitted fields are preserved or cleared, and whether 'items' replaces or merges the existing list.

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?

Two tight sentences: purpose and editable fields first, then the access constraints. No filler, no repetition of the title.

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?

With 7 params fully documented in schema and no output schema, the definition covers purpose and access rules adequately. It is still thin for a destructive, partial-update tool: merge-vs-replace semantics and any failure modes for invalid question_id or out-of-range difficulty are unaddressed.

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%, with each property documented in the schema itself, including the UUID sourcing instruction for question_id. The description only restates the field names, adding no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

The description gives a specific verb ('Edit') plus resource ('existing ranking question') and enumerates the mutable fields (question text, items, order type, hint, explanation, difficulty). The noun 'ranking' distinguishes it from the many sibling edit_* tools, though it does not explicitly contrast with create_ranking.

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?

It states two real preconditions: sign-in is required and only your own questions can be edited. However, it gives no guidance on when to edit versus recreate via create_ranking, nor on what happens if you omit fields.

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.