Skip to main content
Glama

Gentoo Linux Source Packages and Security Metadata MCP

Compare Gentoo packages

compare_gentoo_packages
Read-onlyIdempotent

Compare two to six Gentoo Linux packages side by side for latest stable and testing versions on a target architecture.

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": {
      "atoms": "<atoms>"
    },
    "name": "compare_gentoo_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
archNoTarget architecture for stability comparison (default "amd64").
atomsYesList of 2 to 6 Gentoo category/package atoms (e.g. ["dev-libs/openssl", "www-servers/nginx"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds that both stable and testing versions are resolved against a target architecture, which is useful behavior context, but it says nothing about error handling (e.g. unknown atoms), rate limits, or result shape.

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?

A single front-loaded sentence with the verb, resource, cardinality, and comparison dimension, and no filler. Nothing in it is redundant or misplaced.

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 two-parameter read-only tool with full schema coverage and annotations, the description conveys what is compared and on what axis. The only mild gap is that no output schema exists and the description does not say what the comparison result actually contains.

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 both 'atoms' and 'arch' are already fully documented including the 2-6 bound and default amd64. The description restates the 2-6 range and architecture targeting without adding new meaning beyond the schema.

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?

States a specific verb and resource ('Compare ... Gentoo Linux packages') plus concrete scope: 2-6 packages, stable vs. testing versions, target architecture. This implicitly separates it from the get_gentoo_package_* siblings, which fetch single-package data, but no sibling is named explicitly.

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?

The multi-package comparison framing implies when to reach for this over the single-package getters, but there is no explicit when-to-use statement, no exclusions, and no named alternative. Usage must be inferred from scope alone.

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.