Skip to main content
Glama

saij_search

Search Argentine legal documents including court decisions, legislation, summaries, and legal doctrine from the official SAIJ database for legal research.

Instructions

Search Argentine legal documents in SAIJ.

Use this tool to find court decisions (fallos), legal summaries (sumarios),
legislation (leyes, decretos), doctrine, and dictámenes from Argentina's
official legal database.

Args:
    query: Search terms (e.g. "consumidor", "phishing bancario").
    doc_type: Type of document to search. Options:
        - "fallo": Court decisions (default)
        - "sumario": Case summaries with thesaurus tags
        - "jurisprudencia": Both fallos and sumarios
        - "legislacion": All legislation
        - "ley": Laws only
        - "decreto": Decrees only
        - "doctrina": Legal doctrine/articles
        - "dictamen": Official opinions
        - "todo": All document types
    field: Search field. "titulo" works with all types. "texto" only
        works with sumarios (searches the summary text body).
    limit: Maximum results to return (1-25, default 10).
    offset: Pagination offset for fetching more results.

Returns:
    JSON with total count, results array, and facet breakdowns
    (by jurisdiction, tribunal, year).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
doc_typeNofallo
fieldNotitulo
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by explaining the search scope, document types, default behaviors, pagination, and return format. It discloses that 'texto' field only works with sumarios and provides practical examples. However, it doesn't mention rate limits, authentication needs, or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (purpose, usage, args, returns) and every sentence adds value. It could be slightly more front-loaded by moving the 'Args' section details into the initial description, but overall it's appropriately sized and organized.

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?

Given the complexity of a 5-parameter search tool with no annotations but with output schema, the description is complete enough. It explains the tool's purpose, parameters, usage, and return format. The output schema existence means the description doesn't need to detail return values, and it covers all necessary context for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed parameter explanations beyond the bare schema. It explains what each parameter does, provides examples for 'query', enumerates all 'doc_type' options with descriptions, clarifies field limitations, and specifies valid ranges for 'limit'.

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 searches Argentine legal documents in SAIJ, listing specific document types (court decisions, legal summaries, legislation, doctrine, dictámenes). It distinguishes from sibling tools by focusing on search functionality rather than document retrieval (saij_get_document) or specific summary access (saij_get_sumarios).

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 for when to use this tool ('Search Argentine legal documents in SAIJ'), but doesn't explicitly mention when NOT to use it or directly compare to sibling tools. It implies usage through the document type examples but lacks explicit exclusion guidance.

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/frontalinilucas/saij-mcp'

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