Skip to main content
Glama

ZeroWidth Ledger

Set up how a metric's numbers arrive

ledger_feeds_create

Freeze a tool call as a metric's standing source: it runs on the cadence you give and records what it finds, with no model involved. metric takes an id or a snake_case slug; an unknown slug starts tracking that metric. Confirm the mapping with ledger_feeds_preview first. Tell the user they can backfill history afterwards with ledger_feeds_backfill. May return needs_confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNoShort name for the feed, e.g. "Weekly signups".
metricYesMetric id, or a snake_case slug to start tracking.
mappingYes
scheduleYes
toolArgsNo
toolNameYesThe tool's own name on that server.
workspaceNoWorkspace slug. Omit to use the pinned workspace.
approvalIdNo
windowHoursNoHow far back each run looks. Sensible per-cadence default.
integrationIdYesFrom ledger_feed_sources_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation. The description adds real behavioral context beyond that: the feed runs autonomously with 'no model involved', an unknown slug has the side effect of starting tracking for a new metric, and the call may return `needs_confirmation`. It does not, however, explain scheduling failure modes or what happens on a later conflicting feed.

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 tool's purpose, then three compact functional sentences covering slug semantics, the preview prerequisite, and the backfill follow-up. Every sentence carries information, though the 'Tell the user they can backfill' clause is more agent-behavior guidance than tool description and slightly dilutes the focus.

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?

For a 10-parameter mutation with nested mapping/schedule objects and no output schema, the description covers the important operational surface: cadence, the mapping-confirmation prerequisite, the slug side effect, and the `needs_confirmation` return signal. It leaves the nested mapping and schedule fields entirely to the schema, which is a modest gap given the nesting.

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 60%, so the schema carries most of the burden. The description's only parameter statement ('metric takes an id or a snake_case slug; an unknown slug starts tracking that metric') largely restates the schema's own description for `metric`, adding the side-effect note but nothing about mapping, schedule, toolArgs, or windowHours. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Freeze a tool call as a metric's standing source') and immediately characterizes the mechanism (runs on cadence, records findings, no model involved). It is immediately distinguishable from siblings like ledger_feeds_preview and ledger_feeds_run, which are named in the same breath.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing instructions: confirm the mapping with ledger_feeds_preview first, then tell the user about ledger_feeds_backfill afterwards. The prerequisite and follow-up alternatives are named with the condition that selects each, leaving nothing to inference.

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