Skip to main content
Glama

Avokata: Lithuanian law & court practice

Save a matter

build_matter_profile
DestructiveIdempotent

Keep a matter between conversations: its question, the provisions it turns on, and your notes. Provisions listed here are then FOLLOWED, and list_updates reports new practice on them. Stores nothing about the people in the matter.

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

Input Schema

NameRequiredDescriptionDefault
nameYesWhat to call this matter, in the lawyer's own words. The parameter is `name` - `matter` is not a parameter and is ignored.
notesNoFree notes about the LAW in this matter. Nothing about the people in it is stored, and there is no field for that.
questionNoThe legal question the matter turns on, as she would state it.
provisionsNoThe provisions to FOLLOW, each as an abbreviation and an article: `CK 6.217`, `JANĮ 13`, `CK 6.217 straipsnio 2 dalis` for a specific part. Anything the citation graph cannot match is followed in name only and `list_updates` will say so.
jurisdictionNoWhich jurisdiction the matter is in, as a code. Held: `LT` (Lithuania), `EU` (European Union). Omit for the account's own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Adds a real constraint beyond the annotations: nothing about the people in the matter is stored, repeated for emphasis. However, the annotations declare destructiveHint=true and idempotentHint=true, and the description never explains that re-saving replaces or overwrites an existing profile, which is the key behavioral risk here.

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?

Two compact sentences with the purpose front-loaded in the opening clause and the storage limitation as a closing guardrail. The second sentence partly duplicates the provisions schema text, which is the only wasted material.

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?

Placeholder.

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 coverage is 100%, so the baseline is 3, and the description's mentions of question, provisions and notes largely restate what the schema already documents, including the FOLLOWED/mismatch behavior of provisions. It adds nothing for name or jurisdiction, and the 'matter is not a parameter' warning lives only in the schema.

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 action and resource: persist a matter (question, provisions, notes) across conversations. The scope of what the profile holds is spelled out, which separates it from a mere save_workflow or list_matters. It does not explicitly name a sibling it is not, so 5 is not warranted.

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?

Implies when to use it: provisions recorded here are then FOLLOWED and list_updates reports practice on them, so this precedes update-tracking. There is no explicit 'use this instead of X' and no prerequisites or exclusions, so guidance remains 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.

Resources