Skip to main content
Glama

Laws cited by a case

related_laws
Read-onlyIdempotent

Identify statutes cited in a Philippine case by entering its G.R. No. Returns only laws resolved against the ingested corpus, ensuring verified legal references.

Instructions

Given a case citation (G.R. No.), list the statutes that case cites, resolved against the corpus. Only citations that resolve to an ingested statute are returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 20, max 50)
caseCitationYesCase citation, e.g. 'G.R. No. 238875'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lawsYes
countYes
statusYes
caseCitationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, and non-destructive behavior. The description adds valuable behavioral context beyond annotations by disclosing that only citations resolving to an ingested statute are returned, warning users that unresolved citations are omitted.

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?

The description is compact and front-loaded: the first sentence states the action and input, and the second sentence adds the critical filtering caveat. Every sentence earns its place without redundancy or fluff.

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?

For a simple read-only lookup tool with full annotation coverage, a complete input schema, and an output schema, the description is sufficient. It specifies the expected input, the output scope, and the important corpus-resolution limitation.

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%, and both parameters (caseCitation and limit) are already documented in the schema. The description reinforces the G.R. No. format but does not add significant meaning beyond the schema.

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 states a specific verb ('list') and resource ('the statutes that case cites') with a clear input precondition ('Given a case citation (G.R. No.)'). This clearly distinguishes it from sibling tools like related_cases, which deal with cited cases rather than statutes.

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 clear context on when the tool applies: when you have a case citation and need the statutes cited by that case. It does not explicitly name alternatives or exclusions, but the usage context is unambiguous.

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