Skip to main content
Glama

Get one AI law

get_ai_law
Read-onlyIdempotent

Fetch a single AI-law record by its stable id (the id field from search_ai_laws / list_ai_laws). Data by AI Law Tracker (CC BY 4.0). Informational only — not legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe record uuid (the `id` from a list/search result).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint false. Description adds data source attribution (AI Law Tracker, CC BY 4.0) and legal disclaimer, providing value beyond annotations.

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 concise sentences, front-loaded with purpose, followed by data source and disclaimer. No redundant words.

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 fetch tool with 1 parameter, full annotations, and no output schema, the description covers purpose, data source, and legal disclaimer. Complete given the tool's simplicity.

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 100%, baseline 3. Description adds context: 'the record uuid (the `id` from a list/search result).' This clarifies the expected value beyond the schema's description.

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 clearly states the tool fetches a single AI-law record by stable id, and explicitly distinguishes from siblings by specifying the id source ('the id field from search_ai_laws / list_ai_laws'). Verb 'fetch' with specific resource and scope.

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?

Provides clear usage context: use the id from search/list results. Includes disclaimer that it's informational only, not legal advice. Does not explicitly state when not to use or alternative tools, but the sibling tools provide context.

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