Skip to main content
Glama

RubyGems Ruby Ecosystem MCP

Search RubyGems.org catalog

search_gems
Read-onlyIdempotent

Search RubyGems.org packages by keyword and return matching gems with versions and download totals.

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": {
      "query": "<query>"
    },
    "name": "search_gems"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResults page number (default 1).
limitNoMaximum gems to return (default 15).
queryYesSearch query (e.g. "sidekiq", "oauth", "graphql").

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?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description's useful addition is that results include versions and download totals — meaningful because there is no output schema — but it says nothing about result ordering, total counts, or how pagination behaves beyond what the schema already states.

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?

A single front-loaded sentence with no filler. The only mild redundancy is repeating 'RubyGems.org packages' and 'matching gems', but it remains tight and readable.

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 simple three-parameter search, annotations plus full schema coverage plus a one-line summary of returned fields cover the essentials. Missing only minor details such as result ordering or whether a total count is returned, which is acceptable given the tool's simplicity.

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 the query, page and limit parameters are already documented with defaults and bounds. The description only reinforces that the query is keyword-based; it adds no format, matching-rule, or pagination semantics beyond the schema, 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 gives a specific verb ('Search') plus resource ('RubyGems.org packages') and states what comes back ('versions and download totals'). It is clear on its own, but it never explicitly contrasts itself with siblings like get_gem_details or get_gem_versions, so differentiation is left to inference from the names.

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 only implied: keyword lookup against the catalog. There is no statement of when to prefer this over get_gem_details (exact gem lookup) or get_owner_gems, and no note about what happens with no matches or overly broad queries.

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.