Skip to main content
Glama

List the options of an entry point

list_options
Read-onlyIdempotent

List the options accepted by ChartWidget, Chart, or ChartWidgetGrid constructors, including each name, TypeScript type, docs, allowed values, and keyword search, so coding agents can look up exact names instead of guessing.

Instructions

Lists the options that new ChartWidget(el, options), new Chart(el, options) or new ChartWidgetGrid(el, options) take: each name, its TypeScript type, its doc, and the values it allows where it allows only some. Search by words of the name or doc.

Input Schema

NameRequiredDescriptionDefault
queryNoWords to find in the option name or doc.
targetYesThe entry point: ChartWidget (the full trading UI), Chart (the headless chart) or ChartWidgetGrid (several charts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavioral context by describing the return contents: option name, TypeScript type, doc, and allowed values where applicable.

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 description is front-loaded with the core action and resource, then adds return details and search behavior in a compact two-sentence form. There is no wasted text.

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?

For a simple read-only listing tool with rich schema and annotations, the description is nearly complete: it explains what is returned and how search works. Minor omissions such as ordering or pagination are not critical here.

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 description coverage is 100%, so both parameters are already documented in the schema. The description reinforces the query behavior and target entry points but does not add substantial meaning 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 and resource: it lists the options accepted by three named constructors, and it explains what each returned option includes. It is clear what the tool does, though it does not explicitly differentiate itself from siblings such as list_widget_features or list_style_keys.

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

Usage Guidelines3/5

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

It implies usage by saying the tool lists constructor options and that users can search by words in the option name or doc. However, it gives no explicit when-to-use guidance versus alternatives and no exclusions or prerequisites.

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