Skip to main content
Glama

get_data_freshness

Read-onlyIdempotent

Read-only. Report how current Utilify's Texas utility plan data is, per utility type (electricity, gas, water, trash, internet, other). Returns aggregate counts and dates only: active plans, active providers, newest and oldest last-verified dates, the share of active plans inside and outside the staleness targets (electricity: stale after 7 days, expired after 30; other types: stale after 90 days, expired after 365), active plans past their valid-until date, and active plans by data origin (legacy, provider_submitted, provider_site, public_agency). Statewide results also include the number of competitive-market electricity ZIPs with zero active plans. Pass zip for the same figures limited to plans listed for one ZIP. Use this before relying on prices from other tools when recency matters. It does not return plans, prices, provider names, links or contact details, and it changes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_data_freshness"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoOptional 5-digit ZIP code; when given, figures cover only plans listed for that ZIP
utility_typeNoLimit the result to one utility type

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses that results are aggregate counts and dates only, names the exact metrics returned, specifies staleness thresholds by utility type, and notes the statewide-only electricity ZIP metric. It also clarifies what is not returned and that no state is changed.

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 definition is dense but front-loads the purpose and return scope before usage guidance. Some phrases, such as 'Read-only' and 'changes nothing,' duplicate annotations, though the detailed return enumeration is justified because there is no output schema.

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?

Given that there is no output schema, the description is complete enough for correct use: it describes return contents, staleness thresholds, statewide versus ZIP behavior, exclusions, and that the tool is non-mutating. An agent can decide when and how to call it without needing additional return-value documentation.

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%, and the description largely restates the ZIP limitation and utility-type scope already documented in the schema. It adds some default-state context via the statewide results note, but parameter meaning is mostly carried by the 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 states a specific verb and resource: reporting how current Utilify's Texas utility plan data is, per utility type and optionally per ZIP. It also explicitly says it does not return plans, prices, provider names, links, or contact details, which distinguishes it from search/compare/provider tools.

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?

It gives a clear trigger: use this before relying on prices from other tools when recency matters. It also explains the ZIP-scoped variant and states exclusions, but it does not name a specific alternative sibling or describe fallback workflows.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources