Skip to main content
Glama

multi_schema_query

Run a single natural-language query across documents, financial tickers, news, and geographic alerts, returning results grouped by data type for broad cross-source searches.

Instructions

Query across multiple data types simultaneously. Returns results grouped by type. Good for broad searches that span documents, financial tickers, news articles, and geographic alerts.

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": {
      "query": "<query>"
    },
    "name": "multi_schema_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per type (default 10, max 100)
queryYesNatural language query
schemasNoData types to search: doc (general documents/posts), ticker (financial/crypto tickers), news (news articles), geo_alert (earthquakes/weather alerts). Default: all
timeframeNoHow far back to search: 60s, 5m, 10m, 20m, 1h, 24h (default 10m)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only that results are grouped by type; it says nothing about read-only semantics, authentication requirements, rate limits, result ordering, or how partial failures across types are handled. For a cross-dataset query with zero annotation coverage, this is a meaningful gap.

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?

Three short sentences, front-loaded with purpose and immediately followed by return shape. Nothing is redundant, though the third sentence largely repeats the type list already present in the schema.

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?

With no output schema, stating that results are grouped by type is the key return-value context an agent needs, and it is present. Combined with full schema coverage on the four parameters, the definition is close to self-sufficient, missing only behavioral caveats that annotations would normally supply.

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%, so query, schemas, timeframe, and limit are already fully documented including defaults and max. The description merely restates the data types in prose, adding no syntax, format, or interaction detail beyond the schema; baseline 3 applies.

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 names a specific verb and resource ('Query across multiple data types simultaneously') and clarifies the multi-type scope. It does not explicitly contrast with siblings such as query_topic, so differentiation is left to inference.

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?

'Good for broad searches that span documents, financial tickers, news articles, and geographic alerts' gives an implied when-to-use condition. There is no explicit when-not guidance and no named alternative for narrow single-type queries, so the agent must infer the boundary.

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