Skip to main content
Glama

Mandate Law: legal counsel for AI products

Submit product facts (after signing)

submit_intake
Idempotent

Only after the engagement letter is signed. Product facts per https://mandatelaw.ai/api/intake-schema.json. Each fact has a value, a source (prefer verified_in_code), and evidence (paths and short excerpts; no secrets).

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>",
      "intake": "<intake>"
    },
    "name": "submit_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
intakeYesProduct facts as defined in https://mandatelaw.ai/api/intake-schema.json. Each fact is { value, source, evidence, notes }.
matter_idYesThe matter_id returned by request_engagement, e.g. M-1a2b3c4d5e6f.
matter_tokenYesThe matter_token returned by request_engagement. Keep it secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / intake / description
      Added value: +"Product facts as defined in https://mandatelaw.ai/api/intake-schema.json. Each fact is { value, source, evidence, notes }."
    • addedInput schema / properties / matter_id / description
      Added value: +"The matter_id returned by request_engagement, e.g. M-1a2b3c4d5e6f."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the description's job is to add context. It does: a signed-engagement authorization requirement, a no-secrets constraint on evidence, and a preference for verified_in_code as the source. It does not describe what happens on rejection or what a successful response contains.

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?

Three dense fragments with no filler, and the precondition is placed first where it matters most. The telegraphic style (sentence fragments, no explicit verb) slightly reduces readability but wastes nothing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter mutation with a nested intake object and no output schema, the description covers authorization and fact-content rules but says nothing about outcomes — whether it returns fact identifiers, what happens on validation failure, or how idempotent resubmission behaves. It also defers the entire intake shape to an external URL rather than summarizing required fields.

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 goes beyond the schema by prescribing source preference (prefer verified_in_code) and constraining evidence to paths and short excerpts with no secrets — guidance absent from the property descriptions. matter_id and matter_token semantics are left entirely to 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?

The description identifies the resource (product facts) and the hard precondition (only after the engagement letter is signed), which implicitly separates it from the earlier request_engagement step. It never states the action verb explicitly in the description body, relying on the name/title for 'submit', so it is clear but not fully self-contained.

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 gating condition is stated unambiguously and front-loaded: use this only after the engagement letter is signed. What is missing is the counterfactual — it does not name request_engagement as the tool to use when no signed letter exists — but the ordering guidance is clear enough to route an agent.

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