Skip to main content
Glama

Check a timeline edit

check_timeline
Read-only

Report what apply_timeline would change for the same edits or source, without writing.

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": {
      "project": "<project>",
      "context": "<context>"
    },
    "name": "check_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
revNoWith edits: the `cardboard:rev` from the header they were copied from, so edits saved since then merge in. Omit to edit the current timeline.
editsNoExact, non-overlapping replacements against the timeline you read, applied as one batch. To insert, replace a unique anchor with the anchor and the new JSX.
preferNoWho wins when this call and an edit saved since the timeline was printed both changed an item: file, this call (default), or editor, the saved edit.
sourceNoFull timeline.tsx text, only to rewrite most of the timeline.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
projectYesProject id or exact name
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "project"
      -]New value: +[
      +  "project",
      +  "context"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so 'without writing' largely restates them; the real added value is that this tool simulates apply_timeline's exact behavior for the same inputs, which is a genuine behavioral disclosure. It does not say what the report contains (errors, diff, conflicts) or whether running it has any cost, which is a meaningful remaining gap with no output schema.

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?

A single front-loaded sentence with no wasted words, leading with the action and ending with the key non-writing constraint. Nothing could be removed without losing information.

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 an 8-parameter dry-run tool with no output schema, an agent still cannot anticipate the shape of the report (per-edit success, conflicts, error messages) or whether prefer/rev merge semantics apply identically when previewing. The essential purpose is covered, but the preview result contract is left implicit.

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 100%, so every parameter, including edits, rev, prefer, and source, is already documented in the schema. The description's phrase 'the same edits or source' hints that the parameter set mirrors apply_timeline, but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb ('Report what ... would change'), the exact resource scope (edits or source), and explicitly contrasts with the sibling apply_timeline. An agent can tell this is a dry-run of apply_timeline without opening either schema.

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 names apply_timeline as the alternative and pins the selecting condition ('without writing'), which effectively tells an agent to call this first when it wants to preview an edit. It stops short of explicit when-not guidance, such as whether it is required before every apply or how it relates to verify_timeline.

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