Skip to main content
Glama
altfndata

altfinance-mcp

by altfndata

price_trend

Read-only

Track realized auction price trends over time for a table or filtered segment, with sales counts, median, and average USD price per year, quarter, or month.

Instructions

Show how realized prices moved over time for a table or filtered segment.

Buckets sold lots by sale period and reports, per period, the number of sales, the median, and the average usd_price_decimal.

Args: table: Table alias (call list_tables first). Gems = loose stones; jewelry = mounted pieces. filters: Optional filter dicts (field/op/value), same shape as query_table. by: Time bucket — "year" (default), "quarter", or "month". sold_only: Restrict to sold lots with a positive USD price (default true).

Input Schema

NameRequiredDescriptionDefault
byNoyear
tableYes
filtersNo
sold_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.7

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds substantive behavior: the aggregation it performs, the time-bucketing behavior, and that sold_only restricts to sold lots with a positive USD price (default true) – a material effect on results. No auth or rate-limit context, and no note on sparse/empty periods.

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?

Front-loaded with the purpose, then an Args block that is easy to scan. Slightly redundant where it restates defaults already present in the schema (year, true), but those restatements are paired with clarifying semantics rather than pure duplication.

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

Completeness5/5

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

An output schema exists, yet the description still summarizes the returned metrics (per-period sales count, median, average), which is enough for an agent to know what it will get. Combined with the parameter documentation and read-only annotation, nothing needed to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does so: it explains the table alias domain (Gems = loose stones, jewelry = mounted), the allowed 'by' values (year/quarter/month) which are absent as an enum in the schema, the filter shape referenced to query_table, and the precise semantics of sold_only. All four parameters gain meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Show how realized prices moved over time') and adds the exact computation performed (bucket sold lots by period, report count/median/average usd_price_decimal), which is more than a restatement of the name. It does not explicitly distinguish itself from siblings like market_stats or price_check, leaving the agent to infer the difference.

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?

Gives actionable prerequisites ('call list_tables first') and clarifies that filters use 'the same shape as query_table', which steers reuse of a known pattern. It never says when to prefer market_stats or price_check instead, so there is no explicit exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.