Skip to main content
Glama

ZeroWidth

Fill in a metric's history from its feed

ledger_feeds_backfill

Run the same frozen instruction over a past range, so a metric has history instead of starting the day it was set up. Offer this whenever you create a feed — a chart with a year behind it is worth far more than one that begins today, and an expectation can be judged against what normal looked like. Works when the source returns a series; a source that only ever reports 'right now' will write one point. Safe to repeat: overlapping ranges dedupe. Keep ranges to a few hundred points; a run that fills up says so. May return needs_confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFeed id, from ledger_feeds_list.
toNoEnd of the range. Defaults to now.
fromYesStart of the range, ISO date or instant.
workspaceNoWorkspace slug. Omit to use the pinned workspace.
approvalIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare mutation-safety (readOnly=false, destructive=false, openWorld=true). The description adds genuinely useful behavioral detail beyond them: idempotency via dedupe on overlapping ranges, size-limit feedback ('a run that fills up says so'), the single-point outcome for non-series sources, and a `needs_confirmation` return that ties to the approvalId param. This is well above what the annotations convey.

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-loads the purpose, then layers usage, constraints, and re-run safety. Mostly efficient, though the 'worth far more than one that begins today' pitch is mildly promotional filler that could be trimmed.

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?

No output schema exists, and the description compensates by disclosing the re-run/dedupe behavior, the range-size limitation, and the `needs_confirmation` outcome. Combined with the annotations, an agent has enough to call and interpret it, though nothing confirms what a successful backfill returns.

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 coverage is 80%, so the schema already documents id/from/to/workspace. The description implies the from-range concept and hints that approval/confirmation is involved (linked to approvalId), but adds no format or semantics beyond the schema. Baseline 3 is appropriate at this coverage level.

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 action: run the frozen feed instruction over a past range to populate history. The verb+resource ('run' + 'frozen instruction'/'range') is concrete. It does not name the closely related sibling ledger_feeds_run, so it stops short of a 5.

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 a clear condition for invoking: 'Offer this whenever you create a feed,' with a rationale (a chart with history is more valuable, expectations can be judged). It does not explicitly distinguish when to use this versus ledger_feeds_run or ledger_feeds_preview, so no exclusions are covered.

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