Skip to main content
Glama
Jiskta
by Jiskta

estimate_query_cost

Estimate credit cost and row count of a climate query by specifying spatial bounds, dates, and variables.

Instructions

Estimate the credit cost of a climate query before running it.

Use this before large queries (multi-year, large bounding box) to check the cost. Returns the number of credits that would be consumed and an estimated row count, without actually running the query.

Args: lat_min: Southern boundary latitude lat_max: Northern boundary latitude lon_min: Western boundary longitude lon_max: Eastern boundary longitude time_start: Start date, e.g. "2020-01" time_end: End date, e.g. "2024-12" variables: Comma-separated variable names

Returns: Estimated credit cost and row count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lat_minYes
lat_maxYes
lon_minYes
lon_maxYes
time_startYes
time_endYes
variablesNono2

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description must disclose behavior. It states it 'returns the number of credits...without actually running the query,' indicating a read-only, safe operation. It lacks explicit mention of no side effects but is otherwise transparent.

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 concise with two paragraphs, front-loading the main purpose. The parameter list is structured and readable, with no superfluous content.

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 7 parameters and an output schema, the description covers essential behavior (cost estimate, no query execution). It could mention that it's safe to call multiple times, but overall it's sufficiently complete for its simple purpose.

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 coverage is 0%, so description adds value by listing each parameter with a brief explanation (e.g., 'lat_min: Southern boundary latitude'). This clarifies meaning beyond the schema's titles, though it could provide more detail like example values.

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 'Estimate the credit cost of a climate query before running it,' providing a specific verb (estimate) and resource (credit cost). It distinguishes itself from siblings like 'query_climate' and 'query_climate_point' by positioning itself as a pre-check tool.

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 explicitly advises 'Use this before large queries (multi-year, large bounding box) to check the cost,' giving clear guidance on when to use. It does not directly mention when not to use or alternatives, but the context implies it for cost estimation only.

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/Jiskta/jiskta-mcp'

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