Skip to main content
Glama

Set matter practice area

set_matter_practice_area
Destructive

Changes a Clio matter's practice area by name, with a stage when that area uses stages. Nothing else changes. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

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": {
      "matter_id": "<matter_id>",
      "practice_area": "<practice_area>"
    },
    "name": "set_matter_practice_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNoStage NAME in the new practice area. Required when that practice area uses stages.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
matter_idYesClio matter id (digits) from find_matter or list_open_matters. Not the display number.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
practice_areaYesPractice area NAME as it appears in Clio.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "false or omitted returns a preview; true applies the change identified by preview_id.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / matter_id
      Added value: +{
      +  "description": "Clio matter id (digits) from find_matter or list_open_matters. Not the display number.",
      +  "type": "string"
      +}
    • addedInput schema / properties / practice_area
      Added value: +{
      +  "description": "Practice area NAME as it appears in Clio.",
      +  "type": "string"
      +}
    • addedInput schema / properties / preview_id
      Added value: +{
      +  "description": "preview_id is the id returned by this tool's preview call. Required when confirm is true.",
      +  "type": "string"
      +}
    • addedInput schema / properties / stage
      Added value: +{
      +  "description": "Stage NAME in the new practice area. Required when that practice area uses stages.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "matter_id",
      +  "practice_area"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new context: the mutation is scoped to practice area only, a dry-run preview is the default path, and sign-in is required. It does not explain whether previews expire or what a failed confirm leaves behind, so it stops just short of full disclosure.

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 ordered by importance: what changes, what doesn't, how the two calls work, then the auth prerequisite. Every sentence carries information that is not recoverable from the name alone.

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 six parameters, no output schema, and mutations that destroy prior values, the description covers the critical decision points: dry-run default, confirming call, and auth. It omits what the preview actually contains and what happens to the prior practice area, which an agent would want to know before an irreversible write.

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 coverage is 100%, so the baseline is 3, but the description adds workflow meaning the schema states only piecewise: that preview_id is the output of a first call and confirm consumes it. Its mention of 'a stage when that area uses stages' also frames the stage parameter's conditional nature rather than just naming it.

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?

States a specific verb and resource ('Changes a Clio matter's practice area') and immediately bounds scope with 'Nothing else changes.' The clause about stages distinguishes it from a pure stage-setting sibling, so an agent can tell what this tool does and does not write.

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?

The two-step preview-then-confirm protocol is spelled out explicitly, including the condition (confirm true + preview_id) that triggers the real write. What's missing is an explicit routing statement: nothing says to use set_matter_stage when only the stage should change, leaving that inference to the reader.

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