Skip to main content
Glama
Firenook

Firenook

Official

pubsub_list_topics

Read-onlyIdempotent

List Pub/Sub emulator topics with published counts, subscriptions, and triggered functions. Find a topic to publish to before calling pubsub_publish.

Instructions

List the Pub/Sub emulator's topics with their published counts, subscriptions and the functions they trigger (schedule topics included). Use it to find a topic for pubsub_publish; each subscription's backlog and filter are in pubsub_list_subscriptions.

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": "pubsub_list_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile needs no restating. The description adds useful output-context (published counts, triggered functions, schedule topics included) but says nothing about whether the emulator must be running, whether results are paginated, or how inactive/schedule topics appear. Above the annotation baseline, but not rich behavioral disclosure.

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?

Two sentences, with the resource and its return contents front-loaded and the pointer to the sibling tool placed last. Every clause carries distinct information and nothing is repeated from the title or schema.

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?

There is no output schema, and the description compensates by naming the fields each topic entry includes, which is the main thing an agent needs before calling a no-argument list tool. Minor gaps remain around emulator availability and result ordering/volume, but nothing essential is missing for correct invocation.

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?

The tool takes zero parameters, so there is no argument semantics for the description to explain. Under the baseline rule for a 0-param tool, a 4 is appropriate; the description correctly spends its words on scope and return content instead of inventing parameter talk.

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 the Pub/Sub emulator's topics') and enumerates exactly what each entry carries: published counts, subscriptions, triggered functions, and schedule topics. It also implicitly separates itself from pubsub_list_subscriptions, so an agent can distinguish it from the sibling list tool without opening any schema.

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

Usage Guidelines4/5

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

'Use it to find a topic for pubsub_publish' gives a concrete selection context, and the closing clause redirects the agent to pubsub_list_subscriptions for backlog and filter detail. It stops short of saying when this tool is the wrong choice (e.g., for inspecting a single topic or a specific subscription), so it is clear context rather than full when/when-not guidance.

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