Skip to main content
Glama

watch_tokenpull

Idempotent

One poll per call: pulls your local token logs and returns the current cascade for the watched window — the tool never blocks or loops.

Instructions

One poll per call: pulls your local token logs and returns the current cascade for the watched window — the tool never blocks or loops. Re-call at your desired cadence to watch for changes (interval_s is advisory only and echoed back as poll_interval_s). With submit:true AND confirm:true (and an enrolled device) each call may also sign + publish the watched window to the public board, rate-limited to once per 5 min per platform+window. Publishing requires confirm: true (ask the user first); default is preview-only (no submit).

Input Schema

NameRequiredDescriptionDefault
submitNoauto-submit the watched window to the board as a VERIFIED operator each poll (requires `enroll` and confirm:true; default false = preview only)
windowNowhich window to watch (default: 7d — most sensitive to recent activity)
confirmNoREQUIRED with submit:true: must be true, set only after the user has explicitly approved publishing to the public board.
platformNoplatform to watch (default: claude)
interval_sNoadvisory poll cadence in seconds (default: 60, min: 10) — echoed back as poll_interval_s; does not make the call block or loop

Output Schema

NameRequiredDescriptionDefault
cardNoDeterministic prose summary
noteNoReminder that one snapshot is returned per call — re-call to detect changes.
windowNoThe watched window (watch_tokenpull watches one window per call)
cascadeNo
pillarsNoThe four raw token pillars for the watched window
messagesNoNumber of messages in the watched window
platformNoSource platform name
auth_submitNoPresent only when submit:true. One of: {status:'received'|'cooldown'|'not_enrolled'|'error', ...}. Null when submit is false (preview only).
generatedAtNoISO timestamp of the pull
poll_interval_sNoAdvisory poll cadence echoed back (does not make the call block)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.17
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "REQUIRED with submit:true: must be true, set only after the user has explicitly approved publishing to the public board.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / submit / description
      Previous value: -"auto-submit the watched window to the board as a VERIFIED operator each poll (requires `enroll`; default false = preview only)"New value: +"auto-submit the watched window to the board as a VERIFIED operator each poll (requires `enroll` and confirm:true; default false = preview only)"
  2. Changed1 schema field changedv0.19.15
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "amp",
      -  "kimi",
      -  "qwen",
      -  "pi",
      -  "openclaw",
      -  "droid",
      -  "codebuff",
      -  "gemini",
      -  "copilot",
      -  "opencode",
      -  "goose",
      -  "kilo",
      -  "hermes",
      -  "devin",
      -  "other",
      -  "omp",
      -  "proxy",
      -  "claude",
      -  "codex",
      -  "grok"
      -]New value: +[
      +  "amp",
      +  "kimi",
      +  "qwen",
      +  "pi",
      +  "openclaw",
      +  "droid",
      +  "codebuff",
      +  "gemini",
      +  "copilot",
      +  "opencode",
      +  "goose",
      +  "kilo",
      +  "hermes",
      +  "devin",
      +  "other",
      +  "omp",
      +  "proxy",
      +  "antigravity",
      +  "grok",
      +  "zcode",
      +  "claude",
      +  "codex"
      +]
  3. Changed1 schema field changedv0.19.7
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "amp",
      -  "kimi",
      -  "qwen",
      -  "pi",
      -  "openclaw",
      -  "droid",
      -  "codebuff",
      -  "gemini",
      -  "copilot",
      -  "opencode",
      -  "goose",
      -  "kilo",
      -  "hermes",
      -  "devin",
      -  "other",
      -  "omp",
      -  "proxy",
      -  "claude",
      -  "codex"
      -]New value: +[
      +  "amp",
      +  "kimi",
      +  "qwen",
      +  "pi",
      +  "openclaw",
      +  "droid",
      +  "codebuff",
      +  "gemini",
      +  "copilot",
      +  "opencode",
      +  "goose",
      +  "kilo",
      +  "hermes",
      +  "devin",
      +  "other",
      +  "omp",
      +  "proxy",
      +  "claude",
      +  "codex",
      +  "grok"
      +]
  4. Changed10 schema fields changedv0.19.6
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "amp",
      -  "kimi",
      -  "qwen",
      -  "pi",
      -  "openclaw",
      -  "droid",
      -  "codebuff",
      -  "gemini",
      -  "copilot",
      -  "opencode",
      -  "goose",
      -  "kilo",
      -  "hermes",
      -  "devin",
      -  "other",
      -  "claude",
      -  "codex"
      -]New value: +[
      +  "amp",
      +  "kimi",
      +  "qwen",
      +  "pi",
      +  "openclaw",
      +  "droid",
      +  "codebuff",
      +  "gemini",
      +  "copilot",
      +  "opencode",
      +  "goose",
      +  "kilo",
      +  "hermes",
      +  "devin",
      +  "other",
      +  "omp",
      +  "proxy",
      +  "claude",
      +  "codex"
      +]
    • addedOutput schema / properties / auth_submit
      Added value: +{
      +  "description": "Present only when submit:true. One of: {status:'received'|'cooldown'|'not_enrolled'|'error', ...}. Null when submit is false (preview only).",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / card
      Added value: +{
      +  "description": "Deterministic prose summary",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cascade
      Added value: +{
      +  "properties": {
      +    "card": {
      +      "description": "Deterministic prose summary of the cascade result",
      +      "type": "string"
      +    },
      +    "class": {
      +      "description": "Operator class tier (dev10x taxonomy)",
      +      "enum": [
      +        "ARCH+ I",
      +        "ARCH+ II",
      +        "ARCH+ III",
      +        "ARCH I",
      +        "ARCH II",
      +        "ARCH III",
      +        "POWER I",
      +        "POWER II",
      +        "POWER III",
      +        "BASE I",
      +        "BASE II",
      +        "BASE III",
      +        "SEEKER I",
      +        "SEEKER II",
      +        "SEEKER III",
      +        "REFINER I",
      +        "REFINER II",
      +        "REFINER III",
      +        "BEARER I",
      +        "BEARER II",
      +        "BEARER III",
      +        "IGNITER I",
      +        "IGNITER II",
      +        "IGNITER III",
      +        "UNCLASSED"
      +      ],
      +      "type": "string"
      +    },
      +    "dev10x": {
      +      "description": "10xDEV score (log10 of the cascade product)",
      +      "type": "number"
      +    },
      +    "leverage": {
      +      "description": "Cr/I — cache reads divided by input",
      +      "type": "number"
      +    },
      +    "mode": {
      +      "description": "Detected working mode (BUILD/EDIT/DEBUG/MAINTAIN/IDLE) + confidence",
      +      "type": "object"
      +    },
      +    "pillars": {
      +      "description": "The four raw token pillars the cascade was computed from",
      +      "type": "object"
      +    },
      +    "snr": {
      +      "description": "Signal-to-noise ratio",
      +      "type": "number"
      +    },
      +    "velocity": {
      +      "description": "O/I — output divided by input",
      +      "type": "number"
      +    },
      +    "warnings": {
      +      "description": "Parse or data warnings if any",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "yield": {
      +      "description": "Υ Yield — the headline efficiency metric (Cache Reads × Output / Input²)",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "yield",
      +    "class"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / messages
      Added value: +{
      +  "description": "Number of messages in the watched window",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Reminder that one snapshot is returned per call — re-call to detect changes.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / pillars
      Added value: +{
      +  "description": "The four raw token pillars for the watched window",
      +  "properties": {
      +    "cacheCreate": {
      +      "type": "integer"
      +    },
      +    "cacheRead": {
      +      "type": "integer"
      +    },
      +    "input": {
      +      "type": "integer"
      +    },
      +    "output": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / poll_interval_s
      Added value: +{
      +  "description": "Advisory poll cadence echoed back (does not make the call block)",
      +  "type": "number"
      +}
    • addedOutput schema / properties / window
      Added value: +{
      +  "description": "The watched window (watch_tokenpull watches one window per call)",
      +  "enum": [
      +    "7d",
      +    "30d",
      +    "90d",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • removedOutput schema / properties / windows
      Removed value: -{
      -  "description": "Per-window token usage + cascade results",
      -  "items": {
      -    "properties": {
      -      "cascade": {
      -        "properties": {
      -          "card": {
      -            "description": "Deterministic prose summary of the cascade result",
      -            "type": "string"
      -          },
      -          "class": {
      -            "description": "Operator class tier",
      -            "enum": [
      -              "Burner",
      -              "Builder",
      -              "10xer"
      -            ],
      -            "type": "string"
      -          },
      -          "leverage": {
      -            "description": "Cr/I — cache reads divided by input",
      -            "type": "number"
      -          },
      -          "snr": {
      -            "description": "Signal-to-noise ratio",
      -            "type": "number"
      -          },
      -          "tenx_dev": {
      -            "description": "10xDEV score",
      -            "type": "number"
      -          },
      -          "velocity": {
      -            "description": "O/I — output divided by input",
      -            "type": "number"
      -          },
      -          "warnings": {
      -            "description": "Parse or data warnings if any",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "yield_": {
      -            "description": "Υ Yield — the headline efficiency metric (Cache Reads × Output / Input²)",
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "yield_",
      -          "class"
      -        ],
      -        "type": "object"
      -      },
      -      "estimated": {
      -        "description": "True if cacheCreate was estimated",
      -        "type": "boolean"
      -      },
      -      "messages": {
      -        "description": "Number of messages in window",
      -        "type": "integer"
      -      },
      -      "pillars": {
      -        "properties": {
      -          "cacheCreate": {
      -            "type": "integer"
      -          },
      -          "cacheRead": {
      -            "type": "integer"
      -          },
      -          "input": {
      -            "type": "integer"
      -          },
      -          "output": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "window": {
      -        "enum": [
      -          "7d",
      -          "30d",
      -          "90d",
      -          "all"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
  5. Addedv0.19.3
  6. Removedv0.19.2
  7. Changed1 schema field changedv0.18.1
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "amp",
      -  "kimi",
      -  "qwen",
      -  "pi",
      -  "openclaw",
      -  "droid",
      -  "codebuff",
      -  "gemini",
      -  "copilot",
      -  "opencode",
      -  "goose",
      -  "kilo",
      -  "hermes",
      -  "claude",
      -  "codex"
      -]New value: +[
      +  "amp",
      +  "kimi",
      +  "qwen",
      +  "pi",
      +  "openclaw",
      +  "droid",
      +  "codebuff",
      +  "gemini",
      +  "copilot",
      +  "opencode",
      +  "goose",
      +  "kilo",
      +  "hermes",
      +  "devin",
      +  "other",
      +  "claude",
      +  "codex"
      +]
  8. Changed1 schema field changedv0.16.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "generatedAt": {
      +      "description": "ISO timestamp of the pull",
      +      "type": "string"
      +    },
      +    "platform": {
      +      "description": "Source platform name",
      +      "type": "string"
      +    },
      +    "windows": {
      +      "description": "Per-window token usage + cascade results",
      +      "items": {
      +        "properties": {
      +          "cascade": {
      +            "properties": {
      +              "card": {
      +                "description": "Deterministic prose summary of the cascade result",
      +                "type": "string"
      +              },
      +              "class": {
      +                "description": "Operator class tier",
      +                "enum": [
      +                  "Burner",
      +                  "Builder",
      +                  "10xer"
      +                ],
      +                "type": "string"
      +              },
      +              "leverage": {
      +                "description": "Cr/I — cache reads divided by input",
      +                "type": "number"
      +              },
      +              "snr": {
      +                "description": "Signal-to-noise ratio",
      +                "type": "number"
      +              },
      +              "tenx_dev": {
      +                "description": "10xDEV score",
      +                "type": "number"
      +              },
      +              "velocity": {
      +                "description": "O/I — output divided by input",
      +                "type": "number"
      +              },
      +              "warnings": {
      +                "description": "Parse or data warnings if any",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "yield_": {
      +                "description": "Υ Yield — the headline efficiency metric (Cache Reads × Output / Input²)",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "yield_",
      +              "class"
      +            ],
      +            "type": "object"
      +          },
      +          "estimated": {
      +            "description": "True if cacheCreate was estimated",
      +            "type": "boolean"
      +          },
      +          "messages": {
      +            "description": "Number of messages in window",
      +            "type": "integer"
      +          },
      +          "pillars": {
      +            "properties": {
      +              "cacheCreate": {
      +                "type": "integer"
      +              },
      +              "cacheRead": {
      +                "type": "integer"
      +              },
      +              "input": {
      +                "type": "integer"
      +              },
      +              "output": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "window": {
      +            "enum": [
      +              "7d",
      +              "30d",
      +              "90d",
      +              "all"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  9. Changed3 schema fields changedv0.6.10
    • removedInput schema / properties / codename
      Removed value: -{
      -  "description": "TODO(AUTH.WIRE): when set, will auto-submit on change once auth is live",
      -  "type": "string"
      -}
    • changedInput schema / properties / interval_s / description
      Previous value: -"poll interval in seconds (default: 60, min: 10)"New value: +"advisory poll cadence in seconds (default: 60, min: 10) — echoed back as poll_interval_s; does not make the call block or loop"
    • addedInput schema / properties / submit
      Added value: +{
      +  "description": "auto-submit the watched window to the board as a VERIFIED operator each poll (requires `enroll`; default false = preview only)",
      +  "type": "boolean"
      +}
  10. First observedv0.6.9

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover openWorldHint and idempotentHint, so the description carries real weight and does: it discloses that the call never blocks or loops, that interval_s is advisory and merely echoed, that publishing pushes data to a public board, that it is rate-limited to once per 5 minutes per platform+window, and that enrollment plus explicit user confirmation are required. That is the exact set of traits an agent needs before enabling submit.

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 most important constraint (one poll, never blocks) is front-loaded, followed by cadence guidance and then the conditional publishing path. Sentences are long and clause-heavy but every clause carries a distinct behavioral fact; minor redundancy between the description and the schema's submit/confirm wording.

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?

With an output schema present, return values need no explanation, and the description covers cadence, defaults, prerequisites, and publication safety. The one unresolved case is what the agent sees when the 5-minute rate limit is hit (error, skip, or partial result), which matters for a tool meant to be re-called in a loop.

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, but the description adds value the schema does not: it explains that interval_s does not cause blocking and is echoed back as poll_interval_s, and it reinforces the submit/confirm dependency as a paired gate rather than two independent flags. Window and platform semantics are left largely to the 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 ('pulls your local token logs and returns the current cascade for the watched window') and clarifies the single-poll semantics, which distinguishes it from a blocking watcher. It implicitly separates the preview mode from the submit path, though it never names the sibling tools (tokenpull, tokenpull_submit) that an agent would otherwise compare against.

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 clear operational context: re-call at your own cadence because each call is one poll, and use submit:true + confirm:true only after user approval. It also names the prerequisite (enrolled device) and the default (preview-only). It stops short of explicitly pointing to sibling tools for one-shot pulls or dedicated submission.

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