Skip to main content
Glama
ThinAirTelematics

ThinAir Data

Official

detect_anomalies

Scan tables for unusual patterns: volume changes, data gaps, high null rates, and stale data. Detect anomalies with severity-ranked alerts. Automatically samples large tables for efficiency.

Instructions

Scan a table for unusual patterns: volume drops/spikes, data gaps, value concentration, high null rates, stale data. Severity-ranked alerts. Tables > 100k rows use a sampled path (~5%). Dialect-aware sampling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • bin/server.js:52-57 (registration)
    Registration of detect_anomalies tool in the static TOOLS array for the local stdio adapter. This is a stub/redirect adapter — no actual handler logic exists in this codebase.
    {
      name: "detect_anomalies",
      description:
        "Scan a table for unusual patterns: volume drops/spikes, data gaps, value concentration, high null rates, stale data. Severity-ranked alerts. Tables > 100k rows use a sampled path (~5%). Dialect-aware sampling.",
      inputSchema: { type: "object" },
    },
  • Generic catch-all CallTool handler that returns a redirect message for ALL tools including detect_anomalies. The actual execution happens on the remote hosted server at https://data.thinair.co/mcp.
    server.setRequestHandler(CallToolRequestSchema, async () => ({
      content: [{ type: "text", text: REDIRECT_MESSAGE }],
      isError: false,
    }));
Behavior3/5

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

Discloses sampling for tables >100k rows (~5%) and dialect-aware sampling, but does not state if the operation is read-only or any side effects. With no annotations, more behavioral details would be beneficial.

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?

Two concise sentences with front-loaded purpose and examples, no redundant information.

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?

Covers core functionality, output type (severity-ranked alerts), and sampling behavior. Lacks detail on output schema or potential limitations, but sufficient for a no-parameter tool.

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?

No parameters defined in schema, so description does not need to add parameter details. Baseline for zero parameters is 4, and description provides adequate context.

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?

Description clearly states the tool scans a table for unusual patterns like volume drops/spikes, data gaps, etc., distinguishing it from sibling tools like analyze_table or data_profile.

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?

No explicit guidance on when to use this tool vs alternatives, though the context of anomaly detection is clear. Could mention when not to use or compare to related tools.

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