Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEGALIZE_API_KEYYesAPI key for Legalize.dev. Can be raw token (leg_...) or 'Bearer leg_...'.
LEGALIZE_TOOLSETNoSet to 'minimal' to reduce toolset size.
LEGALIZE_BASE_URLNoBase URL for Legalize.dev API (default: https://legalize.dev).
LEGALIZE_HTTP_RETRIESNoNumber of HTTP retries (default: 2).
LEGALIZE_HTTP_TIMEOUTNoHTTP timeout in seconds (default: 30).
LEGALIZE_SSL_INSECURENoSet to '1' to disable certificate verification (not recommended).
LEGALIZE_SSL_CERT_FILENoPath to CA bundle for TLS certificate verification.
LEGALIZE_ENABLE_DANGEROUS_TOOLSNoSet to '1' to enable dangerous tools like rotate key.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
legalize_openapi_summaryA

Public: summarize the Legalize.dev OpenAPI spec (endpoints, versions). No API key required.

legalize_countriesB

List supported countries.

legalize_jurisdictionsB

List jurisdictions within a country.

legalize_lawsA

Search/list laws within a country (single page).

legalize_laws_allB

Search/list laws within a country, automatically paging until exhaustion or max_pages. Returns raw page payloads plus a best-effort flattened list when the API returns an array or a {items|data|results} container.

legalize_law_metaC

Get metadata for a law (lightweight endpoint).

legalize_law_getC

Fetch a full law payload.

legalize_reformsB

List reforms (diffs) for a law, newest-first; useful for change tracking.

legalize_commitsB

List git commits for a law repository (lightweight history).

legalize_law_at_commitA

Fetch the law content as it was at a specific git commit SHA.

legalize_rangosB

List the legal hierarchy/ranks (rangos) for a country.

legalize_statsA

Get summary statistics for a country (optionally filtered by jurisdiction).

legalize_accountA

Get account usage/limits info for the current API key (does not count against quota).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/pugafran/lawyer-mcp'

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