Skip to main content
Glama

get_topic

Read-only

List reviewed repositories in one topic, most recently trending first. Free returns at most 10 per call.

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

Input Schema

NameRequiredDescriptionDefault
slugYesTopic slug from list_topics
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / lang
      Removed value: -{
      -  "default": "en",
      -  "description": "Language of reviews and topic names",
      -  "enum": [
      -    "en",
      -    "zh"
      -  ],
      -  "title": "Lang",
      -  "type": "string"
      -}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds two things the annotations do not: result ordering and a plan-based cap on free calls. However, the stated cap of 10 per call sits awkwardly against the schema's default of 30 and maximum of 100, leaving the agent unsure which limit actually binds.

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?

Two short sentences with the ordering and the quota constraint front-loaded; nothing is padded. The second sentence, however, spends its words on a constraint that is not reconciled with the schema.

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?

An output schema exists, so return values need no explanation, and the tool is simple with only two parameters. Still missing: what 'reviewed' means here, and any reconciliation between the 10-per-call claim and the limit parameter, which is the one thing an agent must decide before calling.

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 50%: slug is documented, limit is not. The description's 'at most 10 per call' is the only hint about the limit parameter, and it conflicts with the schema's max of 100 and default of 30 rather than clarifying them, so it adds ambiguity instead of meaning.

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 ('List reviewed repositories in one topic') plus the ordering ('most recently trending first'), which distinguishes it from get_repo and search_repos. It stops short of naming a sibling to contrast against.

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: an agent can infer this is the browse-by-topic path, and the schema points slug back to list_topics. There is no explicit when-to-use versus search_repos or get_trending, and no statement of when not to use it.

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