Skip to main content
Glama

kvasir — Open Legal Grounding

add_note

Idempotent

Attach a private note to a passage of a provision — it appears in the user's kvasir app, highlighted at that passage. Only do this when the user asks for it. uri: canonical norm URI ("norm:bund:BGB:242", "norm:eu:GDPR:art_6") — resolve citations first (resolve_citation). quote: the exact passage the note refers to, VERBATIM from the provision's current text (get_legal_object). It is checked; a quote that is not in the text is rejected. body: the note itself. share_with_team: true makes the note visible to the user's whole team (law firm account) with the author shown; default false = private. Only for accounts in a team, and only when the user asks for it.

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": {
      "uri": "<uri>",
      "quote": "<quote>",
      "body": "<body>"
    },
    "name": "add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYes
bodyYes
quoteYes
share_with_teamNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the write/idempotent/non-destructive profile; the description adds the parts annotations cannot, notably that the quote is verified verbatim against the provision's current text and rejected if not found. It also discloses the visibility effect of share_with_team (whole firm team, author shown) and the account-type prerequisite, which materially changes how an agent should set it.

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 purpose is front-loaded in one sentence, then parameters are listed with no filler. The 'only when the user asks' constraint is repeated per parameter, which is defensible for emphasis but is the one small redundancy.

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?

For a 4-parameter mutation with no output schema, the definition covers prerequisites, validation behavior, privacy semantics, and account requirements. It leaves minor gaps: what is returned on success (e.g., a note identifier) and whether an identical note is deduplicated under the idempotentHint.

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?

Schema description coverage is 0%, so the description carries the full burden and does: uri is given a canonical format with concrete examples and a resolution path, quote is constrained to verbatim current text with a stated rejection consequence, body is identified, and share_with_team is given a default and team-account scoping. This is meaning well beyond the bare title/type schema.

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 opens with a specific verb+resource+scope: "Attach a private note to a passage of a provision — it appears in the user's kvasir app, highlighted at that passage." That distinguishes it from read-oriented siblings like list_notes and from structural ones like add_to_collection without needing to open any schema.

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?

It states a clear precondition ("Only do this when the user asks for it") and repeats the constraint for sharing, and it routes the agent to resolve_citation and get_legal_object as prerequisites rather than leaving URI/quote sourcing implicit. It does not explicitly contrast with overlapping siblings such as add_to_collection, so it stops just short of fully explicit alternative routing.

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.