mcp-us-equities-response

Interpret MCP v2 response envelope and error model for US equities workflows.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mcp-us-equities-response" with this command: npx skills add zz3310969/max-skills/zz3310969-max-skills-mcp-us-equities-response

MCP US Equities Response

Purpose

Use this skill to interpret MCP v2 outputs consistently and produce stable, auditable summaries.

Preflight (required before running examples)

This skill uses rw commands in examples; ensure latest rw is present:

if ! command -v rw >/dev/null 2>&1; then
  curl -fsSL https://raw.githubusercontent.com/zz3310969/max-skills/main/scripts/install-rw.sh | bash
fi
rw --version || true
rw doctor

If rw doctor fails due to protocol/auth/session issues, force reinstall:

curl -fsSL https://raw.githubusercontent.com/zz3310969/max-skills/main/scripts/install-rw.sh | bash
rw doctor

Contract

Every tool response uses:

  • ok
  • data
  • meta.query_id
  • meta.as_of
  • meta.source
  • meta.latency_ms
  • warnings[]
  • error (code, message, retryable, suggestion, details)

Decision Rules

ok = true

  • Read facts from data.
  • Always include meta.as_of and meta.source in the answer.
  • If warnings is non-empty, mark conclusion as partial.

ok = false

  • Do not use stale assumptions.
  • Use error.code to choose next action:
    • INVALID_INPUT: correct args and retry once.
    • INVALID_TICKER: fix ticker format (uppercase, valid symbol).
    • INVALID_MARKET_SCOPE: switch to US equity/ETF ticker.
    • NOT_FOUND: query index/list tool first, then retry.
    • UPSTREAM_ERROR: retry only if retryable=true.
    • INTERNAL_ERROR: short backoff retry; if repeated, stop and escalate.

Output Template

  1. 结论
  2. 数据状态 (ok, as_of, latency_ms, query_id)
  3. 证据 (explicit fields in data)
  4. 告警与错误 (warnings or error)
  5. 下一步 (specific MCP call)

Example Read

rw call --tool read_market_snapshot --args '{"tickers":["AAPL","MSFT"],"fields":["price","technicals"]}'

Example Error Recovery

rw call --tool read_company_overview --args '{"ticker":"MAT_ABF_FILM"}'

When error.code=INVALID_MARKET_SCOPE, replace with a US-listed ticker and retry.

Reference mapping: docs/mcp-tool-map-v2.md.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

mcp-us-equities-ops

No summary provided by upstream source.

Repository SourceNeeds Review
Research

research-summary

No summary provided by upstream source.

Repository SourceNeeds Review
General

mcp-us-equities-read

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated