Skip to main content
Glama

List topics

heystack_list_topics
Read-onlyIdempotent

List Heystack topic tags and how many documents use each one. Read-only. Returns title, slug and document count. Use this to find a topic slug before filtering a search. Do not use it to read a document or to search by a question.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "heystack_list_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many topics to return, from 1 to 100. Default 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so 'Read-only' is largely redundant. What the description does add is the return shape ('title, slug and document count'), which matters since no output schema exists. It says nothing about ordering or pagination of the topic list, which is the remaining gap.

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?

Four short sentences, front-loaded with what is returned, then usage, then exclusions. Minor waste in restating the read-only trait already present in annotations, but nothing else bloats it.

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?

For a simple one-parameter list tool with no output schema, the description supplies purpose, return fields, and usage routing. Nothing an agent needs in order 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.

Parameters3/5

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

Only one optional parameter (limit) and schema coverage is 100%, with the schema already documenting the 1-100 range and default of 50. The description adds no meaning about limit semantics or ordering, so the baseline 3 applies.

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?

States a specific verb and resource ('List Heystack topic tags') plus the payload ('how many documents use each one'), which immediately separates it from document-reading and search siblings. An agent can identify the tool without opening the 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 this to find a topic slug before filtering a search') and explicit exclusions ('do not use it to read a document or to search by a question'). The boundary against the search and read siblings is spelled out rather than implied.

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.