Skip to main content
Glama

Version history of a provision

show_history
Read-onlyIdempotent

Retrieve all recorded versions of a legal provision in effective-date order to compare current text against earlier versions.

Instructions

Show every recorded version of a provision, ordered by effective date (valid_from). Confirms whether the current text differs from an earlier version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statuteYesStatute short title, e.g. 'Civil Code of the Philippines'
actNumberNoOptional act number override, e.g. '386'
provisionYesProvision number, e.g. '1156' or '266-A'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
statusYes
statuteYes
versionsYes
provisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: it returns every version, orders by valid_from, and can compare current versus earlier text. These are meaningful additions but not extensive behavioral disclosures, so a 3 is appropriate.

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 sentences with no filler. The main action is front-loaded, followed by a concise statement of the tool's purpose. Every sentence earns its place.

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?

The tool is a read-only lookup with full schema coverage, annotations, and an output schema. The description captures the core behavior and use case. It could be more complete by explicitly noting when not to use it or how it relates to show_amendments, but nothing essential is missing for correct invocation.

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 parameters are already fully documented (statute, actNumber, provision). The description adds no additional parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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?

The description clearly states a specific verb and resource: 'Show every recorded version of a provision', with the additional qualifier of ordering by effective date. It does not explicitly contrast with sibling tools like show_amendments, so it stops just short of full differentiation, but the wording is precise enough that an agent can infer its focus.

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?

The description provides a clear use case: 'Confirms whether the current text differs from an earlier version.' This tells an agent when the tool would be relevant. However, it does not mention when not to use it or name an alternative sibling, so it lacks explicit exclusionary guidance.

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