Skip to main content
Glama
ThinAirTelematics

ThinAir Data

Official

cross_db_query

Execute federated queries across multiple databases with different SQL dialects. Get a unified result set and per-source provenance for cross-database analysis.

Instructions

Run a federated query across multiple connections (different dialects). Returns a unified result set with per-source provenance. [ARCHITECT tier]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • bin/server.js:169-173 (registration)
    This is a static tool-catalog adapter file. The 'cross_db_query' tool is registered in the TOOLS array as a static definition only (name, description, inputSchema). There is no actual handler implementation in this local adapter — it redirects all tool calls to the hosted server at https://data.thinair.co/mcp via a CallToolRequestSchema handler that returns a redirect message. The real handler logic lives on the hosted server, not in this codebase.
      name: "cross_db_query",
      description:
        "Run a federated query across multiple connections (different dialects). Returns a unified result set with per-source provenance. [ARCHITECT tier]",
      inputSchema: { type: "object" },
    },
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose whether the tool is read-only, destructive, or any limitations (e.g., performance impact). The '[ARCHITECT tier]' tag hints at authorization but is not explicit.

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 a single sentence plus a tag, efficiently conveying the core functionality with no redundant words.

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 no parameters and no output schema, the description provides adequate coverage of purpose and output. However, it does not explain how the query is specified or any prerequisites, which could be a minor gap.

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?

With zero parameters and 100% schema description coverage, the description adds value by explaining the return format (unified result set with provenance), which is beyond the schema's scope.

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 states it runs a federated query across multiple connections with different dialects and returns a unified result set with per-source provenance. This is a specific verb-resource combination that distinguishes it from siblings like 'query_sql' which targets single connections.

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?

The description implies use for cross-database queries but lacks explicit guidance on when to use this tool versus siblings like 'query_sql' or 'analyze_table'. No exclusions or alternatives are mentioned.

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/ThinAirTelematics/thinair-data'

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