Skip to main content
Glama
InvestBrain

InvestBrain

market_get_market_sentiment

Retrieve overall market sentiment by checking the Shanghai Composite as a proxy, returning index value, percentage change, and a sentiment reading.

Instructions

Get overall market sentiment indicators.
Returns Shanghai Composite as a proxy for market sentiment.

Returns:
    dict: Index value, change %, sentiment reading

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market_get_market_sentiment"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful behavior: the proxy methodology (Shanghai Composite) and the shape of the return (index value, change %, sentiment reading). However, it says nothing about data source, freshness, or whether the single-index proxy has known limitations, so important behavioral context is missing.

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?

Very short and front-loaded, leading with the purpose before the methodology and return shape. The 'Returns: dict:' block is slightly redundant prose for a no-output-schema tool but is not wasteful.

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 parameterless read tool with no output schema, the description covers what the tool does, the proxy it uses, and the return contents. It is adequately complete, with only source/freshness details missing.

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

Parameters4/5

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

The tool takes zero parameters, so there are no semantics to document and the baseline is a 4. The description correctly indicates the tool is invoked without arguments.

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?

States a specific verb and resource ('Get overall market sentiment indicators') and clarifies the methodology by naming the Shanghai Composite as the proxy used. It is clear what the tool returns, though it offers no explicit differentiation from siblings like market_get_valuation or market_get_index_components.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. The agent must infer its role from the name alone, despite a crowded market_* sibling set that would benefit from routing guidance.

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

Deploy Server

Other Tools