Skip to main content
Glama

update_sync_state

DestructiveIdempotent

Advance the messaging ingest watermark after a sync run. Pass last_sync as an ISO timestamp; the next get_ingest_instructions returns it.

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": {
      "last_sync": "<last_sync>"
    },
    "name": "update_sync_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
last_syncYesISO timestamp of the newest processed message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description is consistent with a write ("advance"). It adds the useful state-linkage fact that the next get_ingest_instructions will surface this value, but it never warns that advancing a watermark overwrites prior position and can skip messages if the timestamp is wrong — a meaningful omission for a destructive tool.

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?

Two short sentences, front-loaded with the action and followed by the argument instruction and side effect. Every clause carries information; only the redundant restatement of 'ISO timestamp' could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, no-output, destructive mutation tool, the definition covers the mechanics but not the failure modes: what happens on a backwards timestamp, whether re-running is safe (it is, per idempotentHint, but the text never says so), or any permission requirement. Adequate but not complete.

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 100%, so the baseline is 3, and the schema already defines last_sync as an ISO timestamp of the newest processed message. The description restates the ISO format and adds only the round-trip hint, which is modest value rather than new parameter mechanics.

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?

"Advance the messaging ingest watermark after a sync run" names a specific verb (advance) and a specific internal resource (ingest watermark), which is far more precise than a generic 'update'. It is distinguishable from the sync_* siblings, though the description never explicitly contrasts itself with them.

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?

It states the trigger condition clearly ("after a sync run") and closes the loop by naming the follow-up read ("the next get_ingest_instructions returns it"). No exclusions or error/precondition guidance are given, so it stops short of a full when/when-not treatment.

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.