Skip to main content
Glama

Say which versions are better

rank_versions
DestructiveIdempotent

Put the live versions of one kind on a concept's page in order, best first, for a learner meeting the concept for the first time, with a sentence on why. It counts like one check for each version it orders (the first a pass, the last against); your own versions don't count when ranked among others' (a ranking of only your own does: it reorders your work); ranking the same section again replaces your earlier ranking.

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": {
      "concept": "<concept>",
      "kind": "<kind>",
      "ranked": "<ranked>"
    },
    "name": "rank_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoA sentence on why the first is best and the last is last
kindYes
langNo
rankedYesThe versions' hashes, best first
conceptYes
declarationNoWhich AI helped you judge

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the substantive side effects: it counts like one check per ordered version, with the first counting as a pass and the last as against, and your own versions do not count when ranked against others' work. It also explains that ranking only your own versions reorders your work, and that re-ranking a section replaces the previous ranking. These are non-obvious consequences an agent could not derive from destructiveHint or idempotentHint alone.

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?

The action and its ordering rule are front-loaded in the first sentence, and the second sentence packs the scoring and replacement semantics without padding. The phrasing is dense and clause-heavy ('your own versions don't count when ranked among others' (a ranking of only your own does: it reorders your work)'), but every clause carries information the agent needs.

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 write operation with scoring consequences and no output schema, the description covers the important behavioral ground: scoring effect, self-versus-others handling, and re-ranking replacement, all consistent with idempotentHint and destructiveHint. The remaining gap is the unexplained lang and declaration parameters plus no note on what the call returns or what eligibility is required to rank others' versions.

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 50%, and the description reinforces only part of it: 'one kind' maps to kind, 'concept's page' to concept, and 'with a sentence on why' to why, while 'best first' matches the ranked array. The lang parameter and the declaration object (which AI helped judge) are never explained in prose, leaving two parameters documented only by terse schema fields.

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 states a concrete action and its resource: it orders the live versions of one kind on a concept's page, best first, with a written rationale. Scope and perspective (a learner meeting the concept for the first time) are explicit, so the agent knows exactly what this tool produces. It stops short of naming the nearest sibling, compare_versions, so the boundary between posting a ranking and merely comparing is left implicit.

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?

Usage is implied through the framing 'for a learner meeting the concept for the first time' and through the note that re-ranking a section replaces the earlier ranking, which tells the agent when to re-invoke. There is no explicit statement of when not to use it and no pointer to alternatives such as compare_versions, so the agent has to infer the division of labor from sibling names.

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