Skip to main content
Glama

ai_timeline

Read-only

AI timeline extraction — Turns any narrative, news story, case history, incident notes or email thread into a clean chronological timeline: ISO dates (relative dates resolved against ref_date=), times, one-line events, actors, certainty (exact/approximate/relative) and a supporting quote, then sorted and validated offline with days between events, total span, longest gap and actor counts. text= up to 20,000 characters. Price: $0.008 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. On March 5 2024 Acme signed the merger agreement with Beta Corp. Two weeks later regulators opened a review, and the deal closed on September 30 2024.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations (readOnly/openWorld/non-destructive) by disclosing the extraction output contract, an offline validation pass with derived statistics, a hard input cap of 20,000 characters, and — critically — that the call costs $0.008 USDC via x402. The payment requirement is exactly the kind of behavior an agent must know before invoking.

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?

One front-loaded sentence establishes what the tool does, followed by a compact clause for the output shape and a final clause for limits and price. Dense but every clause carries operative information; nothing is filler.

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?

With no output schema, the description takes on the burden of describing return values and does so thoroughly (dates, times, one-line events, actors, certainty, quotes, plus derived span/gap/actor counts). Size limit and cost are covered, leaving nothing an agent needs before calling.

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 already 100% for the single 'text' parameter, so baseline is 3; the description adds real meaning by stating the 20,000-character ceiling. It loses a point for referencing 'ref_date=' as if it were a settable input when the schema exposes only 'text', which could mislead an agent into passing an unsupported argument.

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?

States a specific verb ('timeline extraction') and resource, then enumerates the accepted input genres (narrative, news story, case history, incident notes, email thread). This clearly separates it from adjacent siblings like ai_dates (date parsing) or generic ai_extract without naming them explicitly.

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?

Usage is only implied through the enumerated input types — an agent can infer 'use this when you have prose containing events.' There is no explicit when-not guidance and no named alternative (e.g., when a simple ai_dates call would suffice instead).

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