Skip to main content
Glama

Search an option’s values

search_option_choices
Read-onlyIdempotent

Resolves an option whose type is search on list_platforms, such as a place to tag a post with: the set is too large to list, so it is searched. Pass query with a name and send the chosen result’s value as the option. Pass value instead to turn a value already on a post back into its label.

One of query or value is required. Only for search options. Never invent a value for one: if nothing matches, tell the user rather than sending something close.

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": {
      "channelId": "<channelId>",
      "key": "<key>"
    },
    "name": "search_option_choices"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe option’s `key` on `list_platforms`.
queryNoWhat to search for, such as a place name.
valueNoA value already stored, whose label you want. Ignored when `query` is sent.
channelIdYesA channel id from `list_channels`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds genuinely new behavior: the option set is unlistable and must be searched, and a no-match outcome must be surfaced to the user rather than approximated. It does not describe how many candidates come back or how partial/fuzzy matching behaves, which is the remaining gap.

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?

Front-loads the identity of the tool, then the two call modes, then the hard constraints; no sentence is filler. Slightly dense with backticked identifiers and the illustrative 'place to tag a post with' clause, but nothing is redundant.

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 still conveys enough about results to act on them ('send the chosen result's `value`'), and it covers the mutation-free, search-only nature of the call. It does not spell out the shape of returned candidates (label/value pairs, match quality), which is the one thing an agent might still want.

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%, so all four parameters are already documented, which sets the baseline at 3. The description still adds meaning beyond the schema by establishing that `query` and `value` are alternative modes with an exactly-one-of requirement that the schema itself does not express, and by framing `value` as a label-recovery path.

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?

States a specific verb and resource ('Resolves an option whose type is search on list_platforms') and explains the reason it exists (the value set is too large to enumerate). It is clearly distinguishable from list_platforms, which is named as the source of the option key.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit direction for both directions of use: send `query` with a name and pass the chosen result's `value`, or send `value` to reverse a stored value into a label. It adds the conditional requirement ('One of `query` or `value` is required'), scopes the tool ('Only for `search` options'), and states a negative rule ('Never invent a value... tell the user').

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