Skip to main content
Glama

search_events

Read-onlyIdempotent

Search A-share events using any combination of filters: stock code, event type, date, status, confidence, shareholder name. Use for complex queries that don't fit specialized tools.

Instructions

Universal event search with all supported filters. This is the escape hatch for complex queries not covered by the specialized tools. Supports all filter combinations: stock_code, event_type, since (datetime), status, confidence_tier, shareholder_name. Use when: you need a multi-filter query that doesn't fit into the specialized tools — e.g. 'all verified share_reduction events for 002272 since 2026-05-01'. Do NOT use when: a specialized tool (search_events_by_stock, search_events_by_type, search_events_by_shareholder) would work — prefer specialized tools for better results. Supports cursor-based pagination. Returns: {data: [...], cursor: , has_more: bool}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codesNoComma-separated 6-digit stock codes. Empty = all.
event_typesNoComma-separated event types. Empty = all.
event_typeNoSingle event type (backward-compat alias for event_types). Merged with event_types if both provided.
severityNoFilter by AI context severity: red, yellow, green. Comma-separated for multiple. Requires ai_context from DEV-84.
sentimentNoFilter by AI context sentiment: positive, negative, neutral. Comma-separated for multiple. Requires ai_context from DEV-84.
sinceNoISO 8601 datetime or YYYY-MM-DD. Filter events updated after this time.
statusNoFilter by event status: active, updating, closed, corrected, archived.
confidence_tierNoFilter by confidence: verified, likely, uncertain.
shareholder_nameNoFilter by shareholder name in structured_payload.
cursorNoPagination cursor from previous response.
limitNoMax results per page. Default: 20, Max: 200.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds value by detailing cursor-based pagination and the exact return format ({data, cursor, has_more}), beyond what annotations provide. No contradictions.

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?

The description is composed of four sentences that are front-loaded with the tool's purpose and include all essential information without redundancy. Every sentence serves a clear purpose.

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 11 optional parameters and no output schema, the description covers the purpose, usage boundaries, return format, and pagination. Could mention error handling or rate limits but is sufficiently complete for a search tool with good annotations.

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%, so baseline is 3. The description lists filter names but adds no parameter-specific semantics beyond what the schema already provides (e.g., format, defaults, allowed values). Adequate but not enhanced.

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?

The description clearly identifies the tool as a universal event search with all supported filters, explicitly distinguishing it from specialized siblings (e.g., search_events_by_stock) by calling itself an 'escape hatch' for complex queries. This aligns with a specific verb+resource with scope differentiation.

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

Usage Guidelines5/5

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

The description provides explicit 'Use when' and 'Do NOT use when' guidance, including a concrete example query and naming specific sibling tools to prefer. This gives an agent clear decision criteria for tool selection.

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/NengjiangLunpi/astockevent-mcp'

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