Skip to main content
Glama
ginkida
by ginkida

trend

Group time series data by day, week, month, quarter, or year to display counts, averages, and totals.

Instructions

Analyze time series data: group rows by time period and show counts, averages, and totals.

Args: database: Name of the database from config. table: Name of the table. date_column: Name of the date/timestamp column to group by. value_column: Optional numeric column to aggregate (avg, sum). If omitted, shows counts only. period: Grouping period: day, week, month, quarter, year. Default: month.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseYes
tableYes
date_columnYes
value_columnNo
periodNomonth

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explains the tool's behavior: grouping by time period, computing counts, averages, or totals, and clarifies that omitting 'value_column' yields counts only. It does not mention auth needs, rate limits, or side effects, but the read-only nature is implied.

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 concise with a clear opening sentence followed by parameter explanations in a structured list-like format. It avoids redundancy and focuses on essential details, though the structure could be slightly improved with bullet points.

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 the presence of an output schema (not shown), the description need not detail return values. It covers the core functionality and parameter semantics adequately. However, it could mention potential output format or restrictions (e.g., only numeric value_column) for fuller context.

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?

Schema description coverage is 0%, so the description must compensate. It explains each parameter: 'database', 'table', 'date_column', 'value_column' (optional with aggregation types), and 'period' (enumeration of groupings with default). This adds significant meaning beyond the bare schema.

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 analyzes time series data by grouping rows by time period and showing counts, averages, totals. It uses specific verbs and resources ('Analyze time series data', 'group rows by time period') and distinguishes itself from sibling tools like 'analyze' or 'compare' by its focus on temporal aggregation.

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 usage for time-based data analysis but does not explicitly state when to use it versus alternatives like 'analyze' or 'compare'. No exclusions or when-not-to-use guidance is provided, leaving the agent to infer context from the tool name and parameters.

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/ginkida/dbecho'

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