Skip to main content
Glama

kvasir — Open Legal Grounding

list_notes

Read-onlyIdempotent

Search the user's notes in kvasir — their own, plus notes colleagues in the same team (law firm account) shared with the team (each note says whether it is a team note and who wrote it: team, mine, author). Annotations attached to marked passages of provisions. Each note comes with the provision's canonical URI, the statute, the marked quote and the note text, newest first. query: matches note text, quoted passage and statute name (optional). law: restrict to one statute — "BGB", "gesetz:bund:BGB" (optional). Use it when the user refers to "my notes" or asks what they noted on a statute; read the provision itself with get_legal_object.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawNo
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: the result set includes team notes and records a team/mine/author flag per note, and results come back newest first with canonical URI, statute, quote and note text. It does not discuss pagination or what an empty result means, which keeps it off a 5.

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

Conciseness3/5

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

The core facts are front-loaded (scope, then parameters, then usage guidance), which is good ordering. But there is real waste and damage: the verbless fragment about annotations, and the muddled clause "each note says whether it is a team note and who wrote it: team, mine, author," force the reader to re-parse rather than skim. Some information is genuinely earned, but the packaging undermines it.

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?

With no output schema, the description correctly takes on the burden of describing return shape and ordering, which it does well. For a three-parameter read-only search with full annotation coverage, this is close to sufficient; only the silent limit parameter and absent pagination behavior leave a gap an agent could stumble on with large note sets.

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

Parameters4/5

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

Schema description coverage is 0% — the properties carry only bare titles and defaults — so the description has to compensate, and it largely does: query is defined as matching note text, quoted passage and statute name, and law is defined as restricting to one statute with two concrete example values ("BGB", "gesetz:bund:BGB"). The limit parameter is never mentioned anywhere, leaving one of three parameters without meaning.

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 and resource ("Search the user's notes") and defines scope precisely: the user's own notes plus team-shared notes from a law-firm account, naming kvasir as the source. It also tells the agent what a note contains (provision URI, statute, marked quote, note text). The one weak spot is the dangling fragment "Annotations attached to marked passages of provisions," which reads as a leftover sentence and momentarily blurs what is being searched.

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?

Explicitly routes usage: "Use it when the user refers to 'my notes' or asks what they noted on a statute," and hands the provision-reading case to get_legal_object. That is a concrete when-to-use plus a named alternative. It stops short of a full 5 because there is no explicit when-not guidance (e.g., browsing all of a team's notes regardless of author, or retrieving note bodies by ID).

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.