Skip to main content
Glama

Basis

fibonacci_draw

Draw a Fibonacci study directly on the chart with exact candle coordinates and optional custom ratios. Supports retracement, extension, channel, time, fan, circle, spiral, arc and wedge variants. Prefer swing timestamps/prices returned by market_candles computations rather than visual guesses. Changes the chart you are building; call chart_link when you are done so the person can open it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
fillNoPalette fill colour, or “none”.
textNoText for annotation tools.
toolYes
colorNoA palette name. “up” and “down” are the reserved green and red — they assert a bullish or bearish claim, so use them for position zones and not for a measurement.
widthNoStroke width in pixels, 1 to 6.
levelsNo
pointsYes
symbolNo
opacityNoStrength of the whole drawing, 0.1 to 1. Fade a level that is context rather than the decision.
arrowEndNo
fontSizeNoLabel/text size from 8 to 28.
lineStyleNo
showStatsNo
arrowStartNo
extendLeftNo
showLabelsNo
extendRightNo
fillOpacityNoShape fill opacity from 0 to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, so the statement 'Changes the chart you are building' largely restates the mutation behavior rather than adding new safety context. It does add the useful follow-up workflow of calling chart_link, but does not disclose idempotency, replacement of existing studies, or any destructive edge cases.

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 tightly written in four sentences: what it does, supported variants, input guidance, and the necessary follow-up. Every sentence adds distinct information without repetition or padding.

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 19-parameter drawing tool, the description covers the core purpose, variants, required coordinate semantics, and the chart-link workflow well. It does not explain the output or persistence behavior, but there is no output schema and the mutation+hint workflow is largely captured.

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 only 37%, so the description needs to compensate. It adds useful meaning for the key inputs — 'exact candle coordinates' for points and 'optional custom ratios' for levels — and lists the tool variants. However, many parameters (ref, text, symbol, arrows, extents, lineStyle, showStats/showLabels) remain without meaningful semantic explanation in either the description or schema.

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?

The description names a specific verb and resource: 'Draw a Fibonacci study directly on the chart'. It also lists the supported variant families and describes the coordinate/ratio inputs, which clearly distinguishes it from generic drawing tools like drawing_add.

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

Usage Guidelines4/5

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

The description gives concrete guidance: prefer data from market_candles computations over visual guessesitions, and call chart_link after mutating the chart. It does not explicitly explain when to prefer drawing_add or freehand tools instead, but the Fibonacci-specific scope and workflow are clearly stated.

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