Skip to main content
Glama
ThinAirTelematics

ThinAir Data

Official

query_history

Retrieve recent queries executed through ThinAir, including timing, row counts, and status, to monitor query performance and history.

Instructions

Return recent queries executed through ThinAir with timing, row counts, and status. [BUILD tier]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • bin/server.js:108-112 (registration)
    Tool 'query_history' is registered in the static TOOLS array in the local stdio adapter (bin/server.js). It is a BUILD-tier tool for returning recent queries. However, this file is a static catalog-only adapter — all tool calls (including query_history) return a redirect message pointing to the hosted endpoint. The actual handler logic lives on the server at https://data.thinair.co/mcp (outside this codebase).
      name: "query_history",
      description:
        "Return recent queries executed through ThinAir with timing, row counts, and status. [BUILD tier]",
      inputSchema: { type: "object" },
    },
Behavior2/5

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

No annotations provided, so description must carry the burden. It does not specify read-only nature, authentication requirements, scope of 'recent', or any side effects.

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?

Single sentence plus a tag, very concise. The '[BUILD tier]' tag adds minimal value but does not detract significantly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a zero-parameter tool, but lacks details on scope (personal vs all users), limits on recency, and whether results are filtered. Output schema not present, so description could be more complete.

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?

Zero parameters, so baseline is 4. Description adds value by explaining the return data (timing, row counts, status) which is not in the schema (empty).

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 the tool returns recent queries with specific attributes (timing, row counts, status). It distinguishes itself from sibling tools like query_sql or explain_query.

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?

No guidance on when to use this tool versus alternatives like query_sql or suggest_queries. The '[BUILD tier]' tag is ambiguous and does not clarify usage context.

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