Skip to main content
Glama

set_enum_options

Update enum options for Select, Radio, or Checkbox fields in ELN templates to specify selectable values.

Instructions

设置 Select/Radio/Checkbox 的可选项(enum 字段)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
optionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 burden of disclosing behavioral traits. It only says 'set', which implies mutation, but does not reveal whether options are replaced or appended, whether changes are reversible, or any permission or side-effect requirements. The agent is left guessing about the impact of the operation.

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?

The description is a single, short sentence that is front-loaded and free of fluff. However, it is almost too terse: it omits crucial details about parameters and behavior, so while concise, it sacrifices informativeness for brevity.

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?

Given the lack of annotations and output schema, and the presence of many sibling tools, the description is incomplete for an agent to call the tool correctly. It does not explain how 'path' is specified, whether options are full replacements, or any error conditions. The agent would need to inspect the schema heavily and still might misinterpret the intended usage.

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 0%, so the description must compensate for parameter meaning. It mentions '可选项' (options) but does not explain the 'path' parameter (e.g., its format or how it identifies the target field) nor the required structure of options (label/value pairs). It adds only the context that this is for enum fields, which is limited value beyond the schema.

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 states a specific verb ('set') and resource (options for Select/Radio/Checkbox enum fields), making the tool's purpose clear. It differentiates from generic setters like set_property by naming the component types, though it doesn't explicitly contrast with siblings.

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?

No guidance is provided on when to use this tool vs alternatives. There are no exclusions, prerequisites, or hints about when this is the appropriate choice among the many sibling setters (set_property, set_validator, etc.). The intended usage is only implied by the name and resource.

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