Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Stock research brief, technical analysis

stock_brief
Read-only

One-call stock research brief for any ticker or company: the quote plus one-year performance (1w, 1m, 3m, 6m, 1y), annualized volatility, maximum drawdown, 20/50/200-day moving averages, RSI(14), volume trend, 52-week range position and a rules-based bullish/neutral/bearish signal with the reasons and risk flags behind it. Deterministic, from one year of daily closes; no model call. Use to brief an agent or user on a stock before a decision. Example: symbol=AAPL. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "symbol": "<symbol>"
    },
    "name": "stock_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesTicker (AAPL, ^GSPC, BTC-USD) or a company name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only, open-world, and non-destructive status, but the description adds substantial context beyond them: deterministic computation from one year of daily closes with no model call, per-call billing via x402 USDC or a card key, ten free calls, failed calls free, and the explicit warning that repeats are not free (which explains the idempotentHint=false). This is exactly the kind of cost and determinism disclosure an agent needs before invoking.

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?

Purpose and the return payload are front-loaded, and the cost/behavior sentences come after. The opening sentence is a long comma-run of deliverables and 'Reads or computes only and changes nothing' partly restates readOnlyHint, but nothing is wasted enough to hurt selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the return-value burden and does so thoroughly by listing every computed metric and the signal's rationale and risk flags. Combined with cost, determinism, and non-mutation statements, an agent has everything needed to call it correctly.

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% and the single 'symbol' parameter is already documented with examples (AAPL, ^GSPC, BTC-USD, company name). The description's 'Example: symbol=AAPL' merely echoes the schema, adding no new syntax or format meaning, so the baseline of 3 applies.

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 ('One-call stock research brief for any ticker or company') and then enumerates exactly what is returned: quote, 1w–1y performance, volatility, drawdown, 20/50/200-day MAs, RSI(14), volume trend, 52-week range position, and a rules-based signal. The bundling of quote plus history plus indicators implicitly separates it from narrower siblings like stock_quote and stock_history.

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?

Gives a clear use condition ('Use to brief an agent or user on a stock before a decision'), which tells the agent the appropriate context. It stops short of naming alternatives or stating when a lighter single-purpose tool (e.g. a plain quote) would be preferable.

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.