Skip to main content
Glama

TradeFlags MCP

Vol Surface HK — Surface

vol_surface_hk__surface
Read-onlyIdempotent

One-dimensional slice of a single Hong Kong stock's fitted implied-volatility surface: an expiry returns the smile (IV vs strike); a strike returns the term (IV vs expiry). Fitted values only.

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": {
      "hk_ticker": "<hk_ticker>"
    },
    "name": "vol_surface_hk__surface"
  }
}

Input Schema

NameRequiredDescriptionDefault
expiryNoContract month for a smile slice.
strikeNoStrike (or moneyness) for a term slice.
sessionNoSnapshot session (YYYY-MM-DD). Default: latest computed.
hk_tickerYesHong Kong stock code (e.g. 0005). Default: all / latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety and repeatability profile is covered structurally. The description's one added behavioral fact is 'Fitted values only,' which usefully signals model-fit output rather than raw quotes, but it says nothing about extrapolation beyond the strike grid, snapshot staleness, or what a thin/empty surface looks like.

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?

Two sentences, front-loaded with the core concept and immediately followed by the mode semantics. Every clause earns its place, and the trailing 'Fitted values only' is a compact caveat rather than filler.

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 read-only analytic query tool with fully documented parameters and annotations covering the safety profile, the description covers the essential what-and-how. The remaining gaps — behavior with no slice selector, output shape (point series vs grid), and strike-grid limits — are modest for this complexity level.

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%, and the schema already labels expiry as 'Contract month for a smile slice' and strike as 'Strike (or moneyness) for a term slice,' so the description's parallel explanation adds little new meaning. Neither session (snapshot date) nor hk_ticker defaults ('all / latest') are elaborated on in the description. Baseline 3 applies when the schema carries the parameter burden.

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 gives a specific verb-and-resource framing ('one-dimensional slice of a single Hong Kong stock's fitted implied-volatility surface') and then defines the two modes: 'an expiry returns the smile (IV vs strike); a strike returns the term (IV vs expiry).' That is enough for an agent to know exactly what data comes back. It stops short of naming when to prefer this over the sibling term_structure or multi-name surface tools.

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?

Usage is implied through parameter-driven mode selection (pass expiry for a smile, pass strike for a term slice), which is genuinely helpful routing information. However, there is no guidance on what happens if neither or both are supplied, nor any explicit statement about when to choose this tool over the sibling vol_surface_hk__term_structure or vol_surface__surface.

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