Skip to main content
Glama

support_resistance

Calculate support and resistance levels for stocks by computing pivot points and identifying key price levels from historical price action to inform trading decisions.

Instructions

Compute support and resistance levels for a stock. [PRO]

Calculates pivot points (R1, R2, R3, S1, S2, S3) and identifies key price levels from historical price action.

Args: symbol: Stock ticker (e.g., RELIANCE, AAPL, TCS) period: Data period: 3mo, 6mo, 1y, 2y (default: 6mo)

Examples: support_resistance("RELIANCE") → Key levels for Reliance support_resistance("AAPL", "1y") → Apple support/resistance with 1yr data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
periodNo6mo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full disclosure burden. It successfully indicates access tier via '[PRO]' tag and explains the calculation methodology (pivot points). However, it omits safety profile (read-only vs destructive), rate limits, or computational cost despite having no annotations to cover these.

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?

Well-structured with clear sections (summary, Args, Examples). The [PRO] badge is front-loaded. While the Args section uses formal headers rather than prose, this is justified given the schema lacks descriptions. No redundant sentences; each line adds value beyond the structured fields.

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?

Given the existence of an output schema (not shown but indicated), the description appropriately focuses on input parameters and usage examples rather than return values. It covers the essential domain context (pivot point formulas) and parameter domains. Could improve by mentioning data frequency or calculation methodology specifics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates via the Args section: symbol is defined with format examples ('RELIANCE, AAPL, TCS') and period includes valid enum values ('3mo, 6mo, 1y, 2y') and default value. Examples further reinforce parameter semantics.

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?

Description opens with specific verb ('Compute') and resource ('support and resistance levels for a stock'), then distinguishes itself from generic analysis tools by specifying it calculates 'pivot points (R1, R2, R3, S1, S2, S3)' and identifies 'key price levels from historical price action', clearly differentiating from siblings like technical_indicators or stock_quote.

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?

Provides concrete usage examples showing valid parameter combinations (e.g., 'support_resistance("AAPL", "1y")'), which imply usage patterns. However, lacks explicit guidance on when to use this versus similar siblings like technical_indicators, or prerequisites such as market data availability.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/finstacklabs/finstack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server