Skip to main content
Glama

build_legal_stance

Build comprehensive legal citations by searching statutes, case law, and preparatory works simultaneously. Ideal for researching legal questions with multiple sources.

Instructions

Build comprehensive citations for a legal question. Searches statutes, case law, and preparatory works simultaneously. Case law and preparatory works coverage depends on dataset tier — call 'about' to check. Do NOT use for a single known statute — use get_provision + get_preparatory_works instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesLegal question or topic to research
document_idNoLimit statute search to one SFS document
include_case_lawNoInclude case law results
include_preparatory_worksNoInclude preparatory works results
as_of_dateNoHistorical date (YYYY-MM-DD).
limitNoMax results per category
Behavior4/5

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

No annotations exist, so the description carries full burden. It reveals that the tool searches multiple sources and that case law and preparatory works coverage depends on dataset tier. It does not describe return format or pagination, but the behavioral details provided are sufficient for an agent to understand its operation.

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?

Three concise sentences with no wasted words. The most important information (purpose and when-not-to-use) is front-loaded.

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 number of parameters (6) and lack of output schema, the description provides enough context for basic usage. It covers parameter roles and usage constraints. Could benefit from mentioning the return type or structure, but not essential.

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 baseline is 3. The description adds minimal extra meaning beyond the schema (e.g., explaining that document_id limits statute search). However, the schema already clearly describes each parameter.

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 it builds comprehensive citations for a legal question by searching statutes, case law, and preparatory works simultaneously. It distinguishes itself from sibling tools like get_provision and get_preparatory_works, which are for single known statutes.

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

Usage Guidelines5/5

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

Explicitly provides when-to-use and when-not-to-use guidance, including an alternative: 'Do NOT use for a single known statute — use get_provision + get_preparatory_works instead.' Also notes that coverage depends on dataset tier and advises calling 'about' to check.

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/Ansvar-Systems/swedish-law-mcp'

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