Skip to main content
Glama

analyze_data_quality

Detect time gaps, price outliers, null values, and duplicate records in market data to assess quality with a score and detailed issue breakdown.

Instructions

Analyze data quality and detect issues in market data.

Detects:

  • Time gaps in data

  • Price outliers (>3 standard deviations)

  • Null values and missing data

  • Duplicate records

Returns:

  • Quality score (0-100)

  • List of issues and warnings

  • Detailed breakdown of problems

Example:

  • First retrieve data with get_historical_data

  • Then analyze_data_quality(dataset="GLBX.MDP3", symbols="ES.FUT", start="2024-01-15", end="2024-01-15")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetYesDataset name
symbolsYesComma-separated list of symbols
startYesStart date in YYYY-MM-DD format
endYesEnd date in YYYY-MM-DD format
schemaNoData schema (default: 'trades')trades
limitNoMaximum records to analyze (default: 10000)
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what the tool detects and returns (e.g., quality score, issues list), which adds useful context beyond basic functionality. However, it lacks details on performance aspects like rate limits, error handling, or computational intensity, which are important for a data analysis tool.

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?

The description is well-structured with bullet points and an example, making it easy to scan. It is appropriately sized, with each sentence adding value, such as listing detections and returns. However, the example could be more concise, and some information might be slightly redundant given the schema coverage.

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?

Given the complexity of a data quality analysis tool with no annotations and no output schema, the description provides a good overview of what it does and returns. However, it lacks details on output structure (e.g., format of the 'list of issues'), error cases, or dependencies, which would enhance completeness for an agent's understanding.

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 the input schema already documents all parameters thoroughly. The description adds minimal parameter semantics beyond the schema, only implying in the example that parameters like 'dataset', 'symbols', 'start', and 'end' are used for analysis. No additional syntax or format details are provided, meeting the baseline for high schema coverage.

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's purpose with specific verbs ('analyze', 'detect') and resources ('data quality', 'market data'), and distinguishes it from siblings by focusing on quality analysis rather than data retrieval or job management. It explicitly lists what it detects: time gaps, price outliers, null values, and duplicate records.

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

Usage Guidelines4/5

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

The description provides clear context for usage through an example that references a sibling tool ('First retrieve data with get_historical_data'), implying this tool should be used after data retrieval. However, it lacks explicit guidance on when not to use it or alternatives, such as comparing it to 'quick_analysis' or other analysis 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/deepentropy/databento-mcp'

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