Skip to main content
Glama

List logic options

list-logic-options-tool
Read-only

Everything needed to write valid rules for set-block-logic-tool on a form: each draft block with its id, order, option ids and the comparison operators it supports, which blocks can host rules, the ending blocks you can jump to, and the form's variables with their comparison operators. Call this before update-variables-tool or set-block-logic-tool.

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": {
      "form_slug": "<form_slug>"
    },
    "name": "list-logic-options-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
form_slugYesThe form's slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and closed-world scope, so safety is covered. The description adds value the annotations cannot: it discloses the content and shape of the response (block ids, ordering, supported operators, jumpable endings, variables), which tells an agent why it should call this first. It does not mention pagination or size limits, keeping it just below a 5.

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?

Two sentences, the first front-loading the payload contents and the second front-loading the call ordering. Every clause carries information about what is returned. The single long enumerating sentence is dense but readable, with only minor room to tighten.

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?

With no output schema, the description must carry the return-value burden, and it does enumerate the response categories an agent needs in order to construct valid rules. For a one-parameter read-only prerequisite tool this is close to complete; only response format details and any size/rate caveats are absent.

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?

There is a single parameter, form_slug, with 100% schema description coverage, so the schema already documents it. The description only implies it is scoped to a form, adding no format, slug-discovery, or error semantics. Baseline 3 is appropriate when the schema does the work.

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?

The description names a specific resource (logic options for a form) and enumerates exactly what it returns: draft blocks with ids, order, option ids, comparison operators, rule-hosting blocks, ending blocks, and variables. It clearly positions itself relative to set-block-logic-tool and update-variables-tool, so an agent can distinguish it from every sibling without opening a 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?

The final sentence gives explicit sequencing guidance: call this before update-variables-tool or set-block-logic-tool. That is strong when-to-use direction. It stops short of saying when the call is unnecessary (e.g., after options are already in hand), so it is clear but not exhaustive.

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.