Skip to main content
Glama

Edit Ranking Question

edit_ranking
DestructiveIdempotent

Edit existing ranking question content (question text, items, order type, hint, explanation, difficulty). Updates are saved to database and cache is invalidated. Free (no coin cost). Requires authentication and ownership.

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

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds genuinely new context: writes persist to the database, the cache is invalidated, there is no coin cost, and authentication plus ownership are required. It does not say what happens to fields omitted from the update or whether partial updates overwrite, which is the main remaining gap.

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, front-loaded sentences: what it does, what side effects occur, then cost and auth prerequisites. No filler and no repetition of schema details.

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 7-parameter mutation with no output schema, the description covers persistence, cache side effects, cost, and auth/ownership prerequisites, which is most of what an agent needs. The missing piece is whether omitted fields are left unchanged or cleared, which matters given partial-update semantics.

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%, so every one of the 7 parameters is already documented in the schema, including the careful UUID-provenance note on question_id. The description only restates the field list, 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Edit) plus the resource (existing ranking question content) and enumerates the editable fields, so it is clearly distinguishable from create_ranking and from sibling editors like edit_mcq or edit_fill_blank.

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?

Establishes the precondition clearly: the question must already exist, the caller must be authenticated and be the owner. It also notes the operation is free, implicitly contrasting with coin-charging creation tools. It does not explicitly name alternatives or exclusion cases, so it stops short of a 5.

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