Skip to main content
Glama

RubyGems (Unofficial)

Rubygems Get Versions

rubygems_get_versions
Read-onlyIdempotent

Get full version history for a Ruby gem. Returns every published version with release date, download count, Ruby version compatibility, and licenses. Use for "what versions of X exist?" or "when did Y release version Z?".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "rails"
    },
    "name": "rubygems_get_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesGem name (e.g., "rails")
limitNoMax versions to return (default 25, max 200). Latest first.

Output Schema

NameRequiredDescriptionDefault
hintNoError message when gem not found
nameYesGem name
foundYesWhether the gem was found
returnedNoNumber of versions returned in this response
versionsNoList of versions, newest first
total_versionsNoTotal number of versions ever published

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description's added behavioral content is mostly an enumeration of returned fields (release date, downloads, Ruby compatibility, licenses), which the output schema already carries. It does add a small scope fact — 'every published version' with full history — but nothing about pagination behavior, rate limits, or what happens when a gem does not exist.

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 sentences, purpose first, then result contents, then usage examples. Every sentence is doing work and nothing is padded.

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?

With a fully described two-parameter schema and an existing output schema, the description covers purpose, result scope, and use cases adequately for a simple read tool. The only mild gap is behavior on unknown gem names or truncated histories, which matters slightly given the limit parameter.

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% and both parameters are documented in the schema, including the limit default (25) and max (200) with 'Latest first' ordering. The description adds no parameter-level meaning beyond that, so the baseline of 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 names a specific verb and resource ('Get full version history for a Ruby gem') and scopes the result set ('every published version'), which separates it in practice from a single-gem lookup like get_gem. It stops short of explicitly naming or contrasting with any sibling, so an agent must infer the boundary rather than read it.

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?

Two concrete user-intent phrasings ('what versions of X exist?', 'when did Y release version Z?') give the agent clear triggering contexts. There are no exclusions or stated alternatives, so it is clear when to use it but not when to prefer something else.

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.