Skip to main content
Glama

Batfish List Questions

batfish_list_questions

Lists curated Batfish questions from the catalog, optionally filtered by category, so you can discover available network analysis checks and their required inputs before running them.

Instructions

List Batfish questions from the curated catalog.

Returns one dict per question: {category, category_description, fun, name, description, tags, synonyms, supports_differential, differential_only, output_columns, inputs, type?}.

  • description is a one-line summary; tags are Batfish's tags; synonyms are plain-language search terms.

  • output_columns lists only column names; call batfish_get_question for their types and descriptions.

  • Each input is {name, type, required, hint?, fields?, placeholder?, example?}. required is true when the input must be supplied (not optional and has no default).

  • supports_differential is true when the question accepts a reference_snapshot. differential_only marks the two questions (compareFilters and differentialReachability) that can only be run differentially; type is retained on those entries.

Pass a category name to filter; omit it for the full catalog. This tool uses checked-in metadata and does not contact Batfish.

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

Input Schema

NameRequiredDescriptionDefault
categoryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it declares the tool is offline ('uses checked-in metadata and does not contact Batfish'), describes the exact shape of each returned dict, and explains non-obvious field semantics such as supports_differential requiring a reference_snapshot, differential_only marking compareFilters/differentialReachability, and required meaning non-optional with no default. Nothing about cost, side effects, or data provenance is left ambiguous.

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?

Well front-loaded: the one-line purpose precedes the return shape, field semantics, and finally the parameter behavior. Some of the field enumeration overlaps with the existing output schema, but the added semantic notes (differential_only, required) justify most of it. Slightly long for a single-parameter list tool.

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 static catalog-listing tool with one optional param and an output schema, the description covers purpose, offline behavior, return structure, and field meanings. An agent has everything needed to call it correctly and to know when to follow up with batfish_get_question.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it explains that the single param is a category filter and that omitting it returns the full catalog. It stops short of saying where valid category values come from (presumably the 'category' field of a prior listing), which is a minor residual gap.

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 Batfish questions from the curated catalog') and makes clear it draws on checked-in metadata rather than live Batfish data. It also points to batfish_get_question for column type details. It does not, however, distinguish itself from the sibling batfish_find_questions, leaving the agent to infer which listing tool 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 Guidelines4/5

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

'Pass a category name to filter; omit it for the full catalog' gives an explicit usage condition for the only parameter. The pointer to batfish_get_question for column types and descriptions is a real routing hint. What's missing is any statement of when this should be preferred over batfish_find_questions or why one would search instead of list.

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