Skip to main content
Glama

Watch tools

watch_tools

Watch a goal's tools, or the services a small tool depends on, using stored public facts, never a verdict. No live inspection. Requires an agent key or an account token with record:read in Authorization; get a key: POST https://interfacedelta.com/api/v1/agent-keys. 1–50 tools; default lifetime 30 days, maximum 90 days; at most 20 active watches and 50 creations per principal per UTC day; creation costs one Record API request per tool; polling, listing and stopping consume none; polling at most once per 60 seconds per principal and watchId, default page 20, maximum 50, replay ceiling 30 days, nextPollMs 900000. Poll goal.tools.changed using the returned watchId. Null cursor starts at watch startedAt. Expiry or stop cuts off new changes; earlier changes remain replayable for seven days, then a typed watch error is returned. Polling delivery only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
toolsYes
expiresAtNo

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses auth requirements (agent key or token with record:read, plus where to get a key), quotas (20 active watches, 50 creations/UTC day), cost accounting (one Record API request per tool; polling/listing/stopping free), poll rate limits and replay ceiling, and what expiry/stop does to change availability. The mutation implied by readOnlyHint=false is made concrete as watch creation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads purpose and hard limits before auth and polling detail, which is the right order. But it is a single semi-colon-chained block packing quotas, cost, polling cadence and expiry recovery into one wall of text, making it harder to scan than it needs to be.

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 stateful subscription tool this covers everything an agent needs to call it correctly and then operate the watch: auth, quotas, cost, poll cadence, default/max page sizes, cursor semantics (null cursor starts at watch startedAt), expiry and replay windows, and the terminal error condition. An output schema exists, so return-value explanation is correctly omitted.

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 description coverage is 0%, so the description must carry the load; it constrains the tools array (1–50 tools) and explains expiresAt semantics (default 30-day lifetime, 90-day maximum). It does not explain the endpoint/tool pair subfields or the accepted timestamp format, leaving part of the required parameter undocumented.

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 the action (watch a goal's tools, or a small tool's dependent services) and the data basis ('stored public facts, never a verdict. No live inspection'), which separates it from verdict-style siblings like check_tool/check_tools. The phrase 'watch a goal's tools' is compressed to the point of ambiguity about what a 'goal' is, but the resulting object (a watch with a watchId) is inferable.

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

Usage Guidelines3/5

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

The 'never a verdict, no live inspection' clause implies the contrast with check_tools/check_tool, and the polling section tells the agent how to consume the watch afterwards. However, it never explicitly names an alternative or says when to choose list_watches/stop_watch instead, so the routing guidance is implied rather than stated.

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