Skip to main content
Glama

Repositories in a topic

topic_repos
Read-only

Most-starred repositories tagged with a topic.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
topicYesTopic slug, e.g. "rust" or "machine-learning".
per_pageNoResults per page (default 20, max 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds only the sort order (most-starred) as behavioral context; it says nothing about pagination limits, result caps, or behavior for unknown/empty topics, though the schema partly covers paging.

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 zero filler; the sort order leads and the resource is unambiguous. It is efficient rather than padded, though its terseness is what leaves the routing gaps noted above.

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

Completeness3/5

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

With 3 simple params at full schema coverage, no output schema, and read-only annotations, the essentials to call it are present. But for a browse-by-topic tool sitting next to search_repos and similar_repos, the definition never explains how the result set differs, which is the main thing an agent needs.

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% with clear slug examples and page/per_page defaults, so the schema carries parameter meaning. The description adds nothing beyond reusing the word 'topic', making the baseline 3 appropriate.

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 the resource (repositories), the filter (tagged with a topic) and the ordering (most-starred), so the agent knows exactly what comes back. It does not distinguish itself from siblings like search_repos or similar_repos, which also return repositories, leaving ambiguity about which to pick.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives, despite three sibling tools (search_repos, similar_repos, get_repo) operating on the same resource. The agent must infer from the name alone that this is the browse-by-topic path rather than the search path.

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.