Skip to main content
Glama

kvasir — Open Legal Grounding

get_legal_objects

Read-onlyIdempotent

Batch-resolve up to 100 canonical legal-object URIs in one call — e.g. to ground several citations from a draft at once. Returns {"objects": [...]} in input order. See get_legal_object for URI/include/commentary_scope semantics.

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": {
      "uris": "<uris>"
    },
    "name": "get_legal_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
urisYes
includeNocontent
commentary_scopeNoself

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile is covered. The description adds genuinely new behavior: the 100-item cap and the guarantee that results come back in input order. It says nothing about partial failure or unresolvable URIs, which is the key behavioral question for a batch resolver.

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 short sentences, front-loaded with the batch cap; the return-shape sentence and the cross-reference each add distinct information with no filler.

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

Completeness3/5

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

With no output schema, the description usefully states the response envelope and ordering, and annotations cover the safety profile. However, for a batch tool it omits error/partial-success semantics and leaves the two optional parameters unexplained, so an agent still has gaps before calling it confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden, yet only 'uris' gets meaning (canonical legal-object URIs, max 100). For 'include' and 'commentary_scope' it defers to get_legal_object instead of explaining accepted values or effects, leaving two of three parameters opaque without a second lookup.

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?

Names a specific verb+resource ('Batch-resolve ... canonical legal-object URIs') with a hard cap of 100, and the reference to get_legal_object implicitly frames it as the multi-item counterpart to the single-object tool. An agent can tell the two apart immediately.

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?

Supplies a concrete triggering scenario ('ground several citations from a draft at once'), which implies the multi-URI use case. It stops short of an explicit exclusion such as 'use get_legal_object for a single URI', so the alternative is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.