Skip to main content
Glama
Legal Knowledge MCP Server

Legal Knowledge MCP Server

by Angioz

legal_query_camera

Queries the Italian Chamber of Deputies via SPARQL to retrieve parliamentary bills, debates, and votes for legal research and legislative monitoring.

Instructions

Query Italian Chamber of Deputies (Camera dei Deputati) for parliamentary bills, debates, and votes via SPARQL.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "legal_query_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (default: 10)
queryYesNatural language query about Italian parliamentary activity
legislatureNoLegislature number to filter (e.g., 19 for current)
document_typeNoType of parliamentary document

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and falls short: nothing is said about the return shape, whether results are paginated, rate limits, or auth requirements. Worse, 'via SPARQL' describes an implementation detail that conflicts with the schema's 'Natural language query' parameter, which could confuse an agent about what to actually put in `query`.

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?

A single front-loaded sentence with no filler and the source named first. It is economical, though the ambiguous 'via SPARQL' clause is the one phrase that does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, no annotations, and no output schema, the definition should describe what a result looks like and how the natural-language query maps to the document_type/legislature filters. Neither is covered, and the SPARQL wording adds ambiguity rather than resolving it.

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 limit, legislature, document_type and query are already documented in the schema; baseline 3 applies. The description adds no format or semantics beyond that, and its SPARQL framing sits in tension with the natural-language query parameter rather than clarifying it.

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?

States a specific verb (query) and a precise resource (Italian Chamber of Deputies) plus the content types returned (bills, debates, votes). Naming the Camera dei Deputati implicitly separates it from the legal_query_senato sibling, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The jurisdiction/source scoping implies when the tool applies (Italian lower-house parliamentary data), but there is no explicit when-to-use guidance, no exclusions, and no pointer to legal_query_senato or legal_query_normattiva for adjacent Italian sources. Usage must be inferred.

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