Skip to main content
Glama

List Test Questions

list_test_questions
Read-onlyIdempotent

List questions in one Survey block with exact refs, types, response counts and tester names. Legacy tests return their existing post-test questions. Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults. Legacy tests also supported.

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": {
      "testId": "<testId>"
    },
    "name": "list_test_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNo
testIdYes
blockIdNoSelect one block from list_test_blocks. Omit to infer a sole relevant block; list_insights defaults to all AI blocks. Omit for legacy tests.

Output Schema

NameRequiredDescriptionDefault
dataNo
retryNo
runIdNo
scopeNo
statusNo
testIdNo
blockIdNo
messageNo
paywallNo
nextStepNo
questionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / paywall / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / paywall / properties / hiddenCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / paywall / properties / hiddenCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / questions / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / questions / items / properties / number / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / questions / items / properties / number / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / questions / items / properties / responseCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / questions / items / properties / responseCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / paywall / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / paywall / properties / hiddenCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / paywall / properties / hiddenCount / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / questions / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / questions / items / properties / number / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / questions / items / properties / number / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / questions / items / properties / responseCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / questions / items / properties / responseCount / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description adds genuine context that legacy tests return their existing post-test questions, but the fallback behavior is hand-waved as "the documented defaults" without saying where or what those defaults are.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and short, with the block-targeting rule in the right place. However, legacy behavior is stated twice ("Legacy tests return their existing post-test questions" and "Legacy tests also supported"), and "documented defaults" is a dangling pointer rather than information.

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 the field enumeration is partly redundant but harmless. For a three-parameter listing tool the gaps that matter remain: the required testId's role, runId's effect, and whether the question list is complete or paginated are all unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema coverage is only 33% — blockId is documented in-schema while testId (required) and runId are not. The description hints that a block "or run" can be targeted and lists blockId omission behavior, but it never explains the required testId, how runId narrows scope, or what changes when runId is omitted.

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 questions in one Survey block") and enumerates the returned fields (refs, types, response counts, tester names), which separates it from list_test_blocks and from response-level siblings like get_test_question_responses. It never explicitly names the sibling it is not, so it stops short of a 5.

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?

Gives an explicit prerequisite and routing rule: take block IDs from list_test_blocks, and omission falls back to defaults. It does not state when an agent should prefer question listings over fetching responses or a full test definition, so exclusions are absent.

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