Skip to main content
Glama

hub_info

Read-onlyIdempotent

Fetch a MOGA Hub package's search listing and every version, including takedown reasons, to verify availability and status.

Instructions

One package on MOGA Hub: what search shows, and every version (listed, or taken down with the reason).

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

Input Schema

NameRequiredDescriptionDefault
nameYese.g. @moga/stat-tile

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, idempotent, open world), so the description's job is to add scope, and it does: it discloses that the response includes the search-summary fields and the full version list, including taken-down versions together with the takedown reason. That is non-obvious behavior an agent would otherwise have to discover by calling it. It stops short of stating what happens for a nonexistent or unpublished package name.

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 compact sentence with no filler, front-loading the returned resource. The parenthetical carries real information about yanked versions. Mild cost: 'what search shows' is informal and slightly ambiguous about which fields are actually returned.

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?

No output schema exists, so the description must carry return semantics, and it does cover the two halves (search-shaped summary, full version list with takedown reasons). For a one-parameter read-only lookup this is close to sufficient; only error/empty cases and the shape of the version entries are unstated.

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 coverage is 100% and the single `name` parameter already carries an example, so the schema does the heavy lifting. The description only implies the argument is a package identifier via 'One package'; it adds no syntax guidance beyond the schema, so baseline 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?

Names a concrete resource and scope: a single package on MOGA Hub, returning its search-visible metadata plus every version. It is distinguishable from hub_search (many packages) and hub_publish/yank (mutations), though it never uses an explicit verb like 'get' or 'show' — 'One package on MOGA Hub' is a noun phrase standing in for the action.

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: you call it to inspect one package. There is no explicit when-to-use, no when-not, and no named alternative (e.g. hub_search for discovery, hub_outdated for version drift), so the agent must infer routing from the sibling names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools