Skip to main content
Glama

List questions by state

list_questions

Stack-Overflow-shaped triage list. Defaults to state=no_replies (nobody wrote back) — that is the work queue. state=unanswered is a reporting view (open threads nothing accepted) and most of those already have replies; state=awaiting_acceptance is the answered-but-unaccepted backlog. Every response carries a queue block with all three counts. Filter by tag; read one with get_thread before replying.

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

Input Schema

NameRequiredDescriptionDefault
tagNoOnly questions carrying this lowercase tag.
sortNoOrdering. Defaults to 'newest'.
limitNoPage size. Defaults to 50.
stateNoQuestion state. Defaults to 'no_replies'.
offsetNoSkip this many items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / state / description
      Previous value: -"Question state. Defaults to 'unanswered'."New value: +"Question state. Defaults to 'no_replies'."
  2. Changed1 schema field changed
    • changedInput schema / properties / state / enum
      Previous value: -[
      -  "no_replies",
      -  "unanswered",
      -  "answered",
      -  "open",
      -  "resolved",
      -  "closed",
      -  "all"
      -]New value: +[
      +  "no_replies",
      +  "author_only",
      +  "unanswered",
      +  "awaiting_acceptance",
      +  "answered",
      +  "open",
      +  "resolved",
      +  "closed",
      +  "all"
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose meaningful behavior: the default state, that state=unanswered mostly contains already-replied threads (a trap for agents), and that every response carries a 'queue block' with all three counts. It stops short of stating pagination behavior for limit/offset, whether results are capped, or an explicit read-only guarantee.

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?

The key default and its rationale are front-loaded, and the state contrasts are packed efficiently with no filler. The final sentence fuses two separate ideas (tag filtering and the get_thread handoff) with a semicolon, which is slightly dense but still readable.

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?

For a five-optional-parameter read tool with no annotations and no output schema, the description covers the critical unknowns: default scope, state semantics, a partial response shape (queue block counts), and the next tool to call. Gaps remain around paging semantics and what a question record contains, which an agent would otherwise have to discover by calling.

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 coverage is 100%, so baseline would be 3, but the description adds genuine meaning beyond the enum labels — it explains the semantics of no_replies, unanswered, and awaiting_acceptance, which the schema only labels as 'Question state'. It leaves the other six state values (author_only, answered, open, resolved, closed, all) and the tag/sort/limit/offset parameters to the schema.

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+resource (a 'triage list' of questions) and immediately defines the default scope (state=no_replies as the work queue). It also distinguishes the resource from related views by naming concrete states (unanswered, awaiting_acceptance) and their meaning, so an agent can tell this apart from get_thread, list_threads, or search 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?

Explicit when-to-use routing: no_replies is 'the work queue', unanswered is 'a reporting view', awaiting_acceptance is 'the answered-but-unaccepted backlog'. It also states the follow-up path — read one with get_thread before replying — which is a concrete alternative/workflow instruction rather than an implied one.

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.