Skip to main content
Glama

Update matter custom field

update_matter_custom_field
Destructive

Writes a text custom field on a Clio matter. Refuses non-text fields; an existing value needs confirm_overwrite: true. 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>",
      "field_name": "<field_name>",
      "value": "<value>"
    },
    "name": "update_matter_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesNew text value.
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.
field_nameYesCustom field name from list_matter_custom_fields (case-insensitive).
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.
confirm_overwriteNoRequired (true) to replace a value that is already set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 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 / confirm_overwrite
      Added value: +{
      +  "description": "Required (true) to replace a value that is already set.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / field_name
      Added value: +{
      +  "description": "Custom field name from list_matter_custom_fields (case-insensitive).",
      +  "type": "string"
      +}
    • 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 / 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 / value
      Added value: +{
      +  "description": "New text value.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "matter_id",
      +  "field_name",
      +  "value"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false; the description goes beyond them by disclosing the preview/confirm safety gate, the overwrite precondition, and that sign-in is required. It omits any mention of the idempotency_key, which matters given idempotentHint=false and retries being the exact hazard this tool invites.

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?

Four short sentences, zero filler, with the destructive write and the refusal rule front-loaded before the mechanics. Every sentence carries a distinct fact (effect, refusal, overwrite condition, two-step flow, auth).

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 destructive two-step mutation with no output schema, the description covers the workflow, preconditions, and auth requirement adequately. The main gap is what the preview call returns and how long a preview_id stays valid, which an agent needs to sequence the two calls reliably.

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 confirm, preview_id, and confirm_overwrite are already documented in the schema. The description reinforces the preview_id lifecycle across two calls, but adds no detail on matter_id sourcing, field-name matching, or idempotency_key semantics beyond what the schema states.

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 ("Writes a text custom field on a Clio matter") and immediately narrows scope by refusing non-text fields, which cleanly separates it from the list_matter_custom_fields sibling that only reads definitions. An agent knows exactly what object is mutated.

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?

Gives real conditional guidance: non-text fields are refused, replacing an existing value requires confirm_overwrite, and the two-call preview-then-apply flow is spelled out. It stops short of naming the tool to use for non-text fields or for reading values, so the alternative routing is only implied.

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