Skip to main content
Glama
SiYuan MCP Server
by MyrkoF

list_select_options

Retrieve the current options for a select or multi-select database field by providing its database ID and field ID.

Instructions

List the current options for a select or multi-select database field.

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": {
      "avId": "<avId>",
      "fieldId": "<fieldId>"
    },
    "name": "list_select_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
avIdYesDatabase ID
fieldIdYesField ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "List" implies a read-only operation, but the description does not state that it is safe/non-mutating, whether it requires specific permissions, or what happens for non-select fields; it also gives no indication of the response shape or pagination. This is thin for a tool with zero annotation coverage.

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?

The definition is a single, front-loaded sentence with no wasted words. It states the operation and the target resource immediately, which is exactly what an agent needs for quick selection.

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?

For a simple two-parameter list operation, the description plus fully documented schema is minimally adequate. However, because there are no annotations and no output schema, it should say more about the read-only nature and the expected return of options; as written, an agent knows the target but not much about the operation's behavior.

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?

Schema coverage is 100%, with avId and fieldId both documented in the input schema. The description adds no syntax or semantic detail beyond what the schema already provides, so the baseline of 3 is appropriate.

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?

The description gives a specific verb ("List") and resource ("current options for a select or multi-select database field"), which is clear enough to distinguish it from the mutating sibling set_select_options. It does not explicitly name alternatives or explain how it relates to tools like manage_db_fields or read_database, 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 Guidelines2/5

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

It implies this is the read-side counterpart to setting options, but provides no explicit when-to-use guidance, no exclusions, and no named alternatives. An agent must infer that it should use this instead of set_select_options when it only wants to inspect existing choices.

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