Skip to main content
Glama

riman-ca-botalab-deserticola-conditioner-dropship-study

compare_repos

Read-onlyIdempotent

Compare two packages’ quantitative headline metrics: returns left/right overviews plus delta for overall_mean, top2_box_pct, and sample_size (left minus right). Use when choosing between markets/products; use get_repo_overview for one package; use query_quantitative_csv for row-level detail inside one package. Read-only, no auth; both repo_name and other_repo_name required; missing reports return {error:"report_not_found"}.

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": {
      "repo_name": "<repo_name>",
      "other_repo_name": "<other_repo_name>"
    },
    "name": "compare_repos"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_nameYesPublished package id in the form riman-{slug} (e.g. riman-ca-araliadiol-regulatory-inci-trust-study). Discover ids with list_repos.
other_repo_nameYesSecond package id riman-{slug} to compare against repo_name

Output Schema

NameRequiredDescriptionDefault
mcpNo
leftNoPackage overview fields shared by get_repo_overview and compare_repos
deltaNo
errorNoPresent only on failure
rightNoPackage overview fields shared by get_repo_overview and compare_repos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / other_repo_name / description
      Previous value: -"Second package: riman-{slug}"New value: +"Second package id riman-{slug} to compare against repo_name"
    • changedInput schema / properties / repo_name / description
      Previous value: -"Package folder name: riman-{slug}"New value: +"Published package id in the form riman-{slug} (e.g. riman-ca-araliadiol-regulatory-inci-trust-study). Discover ids with list_repos."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "delta": {
      +      "properties": {
      +        "overall_mean": {
      +          "description": "left.overall_mean − right.overall_mean",
      +          "type": "number"
      +        },
      +        "sample_size": {
      +          "description": "left.sample_size − right.sample_size",
      +          "type": "number"
      +        },
      +        "top2_box_pct": {
      +          "description": "left.top2_box_pct − right.top2_box_pct",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "error": {
      +      "description": "Present only on failure",
      +      "type": "string"
      +    },
      +    "left": {
      +      "description": "Package overview fields shared by get_repo_overview and compare_repos",
      +      "properties": {
      +        "abstract_en": {
      +          "description": "English abstract (truncated)",
      +          "type": "string"
      +        },
      +        "cdn_prefix": {
      +          "description": "CDN prefix for package files",
      +          "type": "string"
      +        },
      +        "country": {
      +          "description": "Market / country name",
      +          "type": "string"
      +        },
      +        "country_code": {
      +          "description": "ISO-style country code when present",
      +          "type": "string"
      +        },
      +        "dois": {
      +          "properties": {
      +            "huggingface": {
      +              "type": "string"
      +            },
      +            "kaggle": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "mcp": {
      +          "description": "Registry MCP endpoint",
      +          "type": "string"
      +        },
      +        "overall_mean": {
      +          "description": "Overall composite mean score",
      +          "type": "number"
      +        },
      +        "portal_detail": {
      +          "description": "Interactive report URL on www.riman.win",
      +          "type": "string"
      +        },
      +        "portal_hub": {
      +          "description": "Theme hub URL",
      +          "type": "string"
      +        },
      +        "product_id": {
      +          "description": "Product / SKU id when present",
      +          "type": "string"
      +        },
      +        "readme_excerpt": {
      +          "description": "Optional README excerpt (get_repo_overview only)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "repo_name": {
      +          "description": "Package id riman-{slug}",
      +          "type": "string"
      +        },
      +        "sample_size": {
      +          "description": "Survey n",
      +          "type": "number"
      +        },
      +        "slug": {
      +          "description": "Short slug without riman- prefix",
      +          "type": "string"
      +        },
      +        "theme_id": {
      +          "description": "Theme: microclimate | regulatory | growth | ontology",
      +          "type": "string"
      +        },
      +        "title_en": {
      +          "description": "English report title",
      +          "type": "string"
      +        },
      +        "top2_box_pct": {
      +          "description": "Top-2-box percentage",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "mcp": {
      +      "type": "string"
      +    },
      +    "right": {
      +      "description": "Package overview fields shared by get_repo_overview and compare_repos",
      +      "properties": {
      +        "abstract_en": {
      +          "description": "English abstract (truncated)",
      +          "type": "string"
      +        },
      +        "cdn_prefix": {
      +          "description": "CDN prefix for package files",
      +          "type": "string"
      +        },
      +        "country": {
      +          "description": "Market / country name",
      +          "type": "string"
      +        },
      +        "country_code": {
      +          "description": "ISO-style country code when present",
      +          "type": "string"
      +        },
      +        "dois": {
      +          "properties": {
      +            "huggingface": {
      +              "type": "string"
      +            },
      +            "kaggle": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "mcp": {
      +          "description": "Registry MCP endpoint",
      +          "type": "string"
      +        },
      +        "overall_mean": {
      +          "description": "Overall composite mean score",
      +          "type": "number"
      +        },
      +        "portal_detail": {
      +          "description": "Interactive report URL on www.riman.win",
      +          "type": "string"
      +        },
      +        "portal_hub": {
      +          "description": "Theme hub URL",
      +          "type": "string"
      +        },
      +        "product_id": {
      +          "description": "Product / SKU id when present",
      +          "type": "string"
      +        },
      +        "readme_excerpt": {
      +          "description": "Optional README excerpt (get_repo_overview only)",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "repo_name": {
      +          "description": "Package id riman-{slug}",
      +          "type": "string"
      +        },
      +        "sample_size": {
      +          "description": "Survey n",
      +          "type": "number"
      +        },
      +        "slug": {
      +          "description": "Short slug without riman- prefix",
      +          "type": "string"
      +        },
      +        "theme_id": {
      +          "description": "Theme: microclimate | regulatory | growth | ontology",
      +          "type": "string"
      +        },
      +        "title_en": {
      +          "description": "English report title",
      +          "type": "string"
      +        },
      +        "top2_box_pct": {
      +          "description": "Top-2-box percentage",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still contributes real behavioral context beyond them: no auth required, both ids mandatory, and the concrete failure mode ({error:"report_not_found"}). It stops short of stating latency, payload size, or rate limits, which keeps it below a 5.

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 clauses do three distinct jobs in order: what it returns, when to use it versus alternatives, and behavioral/error constraints. The output contract is front-loaded and no sentence is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no elaboration, yet the description still summarizes the shape at a glance. With only two fully documented required parameters, an explicit read-only/no-auth statement, and a named error case, nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the id format and discovery hint are already handled by the schema. The description adds meaning the schema does not: the 'left minus right' convention fixes which of repo_name/other_repo_name is the subtrahend, which materially affects interpreting results.

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?

Names a specific verb and resources ('Compare two packages') and enumerates exactly what is returned: left/right overviews plus deltas for overall_mean, top2_box_pct, and sample_size. It also states the delta convention (left minus right), so an agent knows precisely what the tool produces without opening the output schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit positive trigger ('Use when choosing between markets/products') and routes to two named alternatives with their respective conditions: get_repo_overview for a single package and query_quantitative_csv for row-level detail. No inference about sibling selection is left to the agent.

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