Skip to main content
Glama
SiYuan MCP Server
by MyrkoF

set_select_options

Set or update the available options for a select or multi-select database field, letting you define option names, colors, and descriptions to keep field choices current.

Instructions

Set or update the available 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>",
      "options": "<options>"
    },
    "name": "set_select_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
avIdYesDatabase ID
fieldIdYesField ID
optionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden of a mutation tool, and it leaves the most consequential question unanswered: does this replace the entire option list or merge/add to it? It also says nothing about what happens to rows whose current option is dropped, whether changes are reversible, required permissions, or rate limits.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently written, though that efficiency comes partly from omitting information the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive-capable mutation with no annotations, no output schema, and partially documented parameters, the definition is under-specified. An agent could easily call it in a way that silently destroys existing option configuration.

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 67%, below the threshold where the schema alone suffices, and the description adds no meaning to avId, fieldId, or the options array. Critically, it does not state whether the options array is authoritative (full replacement) or additive, nor whether desc and color are optional per option.

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 uses a specific verb pair ('set or update') plus a precisely scoped resource ('available options for a select or multi-select database field'), which clearly separates it from read-side siblings like list_select_options. It stops short of naming siblings explicitly, so it lands at 4 rather than 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?

There is no when-to-use guidance, no mention of alternatives (e.g., list_select_options to inspect existing options, manage_db_fields for field creation), and no prerequisites such as the target field already being a select type. An agent must infer the usage context entirely from the name and one-sentence purpose.

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