Skip to main content
Glama

get_rule_timeline

Fetch a rule's chronological history and linked-lesson summary by RN-* ID without loading full text to support quick audits and change impact review.

Instructions

Return a rule's chronological history and linked-lesson summary without loading full text — lighter than get_rule_context.

Access level: read. Returns: JSON with rule_code, scope, severity, category, history_events, and linked_lessons_summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYesThe RN-* id of the rule.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does state the access level (read) and the payload characteristic that matters here (history/summary without full text). It omits operational behavior such as authorization requirements, history size limits, or truncation/pagination, which keeps it out of the top band.

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?

Two short blocks with zero filler: the purpose and its differentiator come first, then access level and return shape. Every sentence earns its place and nothing is redundant padding.

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?

For a single-parameter read tool with full schema coverage and an existing output schema, the definition is essentially complete; return fields are even listed despite the output schema making that optional. The only minor gap is any note on history volume or truncation behavior.

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 the schema already documents the single rule_id parameter, including the RN-* format. The description adds no further parameter meaning; the baseline 3 applies when the schema does the work.

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?

Specific verb (Return) plus resource (a rule's chronological history and linked-lesson summary) with an explicit scope qualifier (without loading full text). It also names the sibling it differs from, get_rule_context, so an agent can distinguish the two 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 gives a clear comparative usage cue: pick this when full text is unnecessary, because it is 'lighter than get_rule_context.' That names the alternative and the condition that selects it. It stops short of an explicit when-not clause or any prerequisite/authorization guidance.

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