Skip to main content
Glama

Mandate Law: legal counsel for AI products

Request a feature check (may be billed)

feature_check

For engaged clients, with the human's approval (it may be billed). Call before building a change that matches counsel-triggers.json. Do not ship the change until counsel responds.

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>",
      "matter_token": "<matter_token>",
      "change": "<change>",
      "trigger_ids": "<trigger_ids>"
    },
    "name": "feature_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
changeYesWhat the change does and why, in plain words, with the files or features it touches. No secrets or user data.
matter_idYesThe matter_id returned by request_engagement, e.g. M-1a2b3c4d5e6f.
trigger_idsYesThe ids from counsel-triggers.json (see get_counsel_triggers) that this change matches.
matter_tokenYesThe matter_token returned by request_engagement. Keep it secret.
target_ship_dateNoWhen you plan to ship it, e.g. 2027-01-15. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / change / description
      Added value: +"What the change does and why, in plain words, with the files or features it touches. No secrets or user data."
    • addedInput schema / properties / matter_id / description
      Added value: +"The matter_id returned by request_engagement, e.g. M-1a2b3c4d5e6f."
    • addedInput schema / properties / target_ship_date / description
      Added value: +"When you plan to ship it, e.g. 2027-01-15. Optional."
    • addedInput schema / properties / trigger_ids / description
      Added value: +"The ids from counsel-triggers.json (see get_counsel_triggers) that this change matches."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the request may be billed, it requires human approval, and it creates a blocking gate on shipping. These are exactly the operational consequences an agent cannot infer from readOnlyHint=false and idempotentHint=false.

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, zero filler, with the precondition and the blocking constraint front-loaded so an agent reading only the first line still acts correctly.

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?

Complete for a request-submission tool with full schema coverage and no output schema; the engagement prerequisite and shipping gate are both stated. It does not say how the agent later learns counsel's response, a minor gap given siblings like answer_open_question or check_change may handle that.

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 real meaning by tying trigger_ids to counsel-triggers.json and framing 'change' as a plain-language scope description. The billing/approval framing also contextualizes matter_id and matter_token as engagement artifacts.

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 ('Request a feature check') and scopes it to changes matching counsel-triggers.json. It differentiates reasonably from generic siblings like check_change, though it never names which sibling to use instead when the change does not match a trigger.

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 explicit preconditions (engaged client, human approval) and a clear sequencing rule: call before building, do not ship until counsel responds. It stops short of naming an alternative tool for non-trigger changes, but the when-to-use condition is unambiguous.

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