Skip to main content
Glama

ca_get_document

Read-onlyIdempotent

Fetch metadata for a Canadian federal act or regulation using its official code, with English or French language support.

Instructions

Fetch metadata for a Canadian federal act or regulation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYese.g. ``"C-46"`` (Criminal Code) or ``"SOR-2018-151"`` (a regulation).
langNo``"eng"`` or ``"fra"`` (default ``"eng"``).eng

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.3

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds only the 'metadata' scope and does not disclose any additional behavioral traits such as language-dependent behavior, response variability, or potential errors. It contributes minimal behavioral context beyond the 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?

A single sentence with a direct verb-object structure and zero wasted words. It is appropriately concise for the amount of information it conveys.

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?

Given the simple two-parameter schema, full schema documentation, an output schema, and strong read-only annotations, the description is nearly sufficient. The main gap is the absence of explicit routing guidance relative to the sibling tools, which prevents a perfect score.

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 coverage is 100%, with both parameters documented including examples and a default value. The description adds no independent parameter-level meaning, 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 states a specific verb ('Fetch metadata') and a clear resource ('Canadian federal act or regulation'). It implicitly differentiates from ca_get_text by focusing on metadata rather than text, but it does not explicitly distinguish itself from ca_coverage, so sibling differentiation is incomplete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus ca_coverage or ca_get_text. There are no conditions, exclusions, or alternative routing hints, leaving the agent to infer usage from sibling names alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/ca-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server