Skip to main content
Glama

Set fitness delta

fitness

Set a work item's per-goal delta to show how much it advances or regresses a goal, enabling progress tracking. Use positive, zero, or negative values.

Instructions

Record how much one work item contributes toward one goal: the per-goal delta, where +N advances the goal, 0 is neutral and -N regresses it. Typically set at creation and re-set when scope changes (the last write wins); the deltas surface in dor breakdowns and execution packets. Success is silent; an unknown work item or goal id fails with missing: <id> (exit 5). Use set for scalar attributes and field for list fields; this tool only edits the delta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYeswork item id W-NN
goalYesgoal id G-NN
deltaYesper-goal delta (+N, 0, or -N)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Since all annotations are false, the description carries the full burden. It discloses write semantics ('last write wins'), silent success, and the exact failure mode with 'missing: <id>' and exit 5, plus data surfacing in DOR breakdowns and execution packets. No contradiction with annotations.

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?

Three sentences, each earning its place: definition, typical usage/timing, and error/alternative routing. Front-loaded with the core semantics and no fluff.

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?

For a simple 3-parameter write tool with no output schema, the description covers purpose, semantics, timing, side effects (DOR breakdowns/execution packets), error behavior, and alternative tool routing. An agent has all the information needed to invoke it correctly.

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 100%, so baseline is 3; the description adds conceptual meaning on top by explaining that +N advances the goal, 0 is neutral, and -N regresses it, and by clarifying that unknown work item or goal ids fail with a specific error. This modest added value justifies a 4.

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 uses a specific verb ('Record') and resource ('how much one work item contributes toward one goal') and defines the delta semantics (+N advances, 0 neutral, -N regresses). It explicitly differentiates from sibling tools by stating 'this tool only edits the delta' and naming set/field as alternatives.

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?

Provides explicit when-to-use context: 'Typically set at creation and re-set when scope changes.' It also gives alternative routing: 'Use set for scalar attributes and field for list fields; this tool only edits the delta,' telling the agent when not to use it.

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