Skip to main content
Glama

Check court-document guardrails

check_court_document_guardrails
Read-only

Use before relying on, serving or filing an AI-assisted financial-remedy court document. It checks structured observations against reviewed England and Wales page/format rules and a separate New Beginnings authority-verification safeguard. Do not send the document text itself. This tool does not certify legal sufficiency or readiness to file.

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

Input Schema

NameRequiredDescriptionDefault
page_countNoTotal document pages; witness statements exclude exhibits. For bundles also supply excluded_bundle_pages. Position statements count attached schedules, excluding only the composites specified in Guide 89(a).
has_exhibitsNo
hearing_typeNoNeeded for financial-remedy position statements/skeleton arguments because the ordinary page limit varies by hearing type.
document_typeYes
uses_authoritiesNo
authorities_countNo
is_self_containedNo
witness_own_wordsNo
excluded_bundle_pagesNoFor e_bundle: pages excluded under Guide 81(d), including zero if none. Only position statements and composites under 57/65/74, not all preliminary documents.
witness_evidence_onlyNo
has_numbered_paragraphsNo
original_account_retainedNo
witness_sources_identifiedNo
has_bundle_cross_referencesNo
witness_personally_verifiedNo
allocated_to_high_court_judgeNo
authority_propositions_mappedNo
contains_extensive_quotationsNo
authorities_independently_verifiedNoTrue only if each cited authority has been independently resolved to a genuine source. Model familiarity with a case name or citation is not verification.
states_orders_or_directions_soughtNo
ai_generated_or_influenced_substanceNoTrue if AI generated or influenced substantive factual evidence. Caller-reported only.
defines_and_confines_matters_in_disputeNo
reuses_prior_position_statement_with_updateNo
introduces_new_factual_allegations_or_evidenceNo

Output Schema

NameRequiredDescriptionDefault
checksYes
statusYes
page_limitYes
proceedingYes
review_dueYes
hearing_typeYes
jurisdictionYes
document_typeYes
last_reviewedYes
qualificationYes
rule_set_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered upstream. The description adds two useful pieces beyond that: an input restriction (no raw document text) and an explicit non-certification of legal sufficiency or filing readiness, which shapes how an agent should present results. It says nothing about what the check returns or how findings are graded, leaving that to the output schema.

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 sentences, front-loaded with the trigger condition, and every sentence carries distinct weight: the purpose, the do-not-send-text constraint, and the scope limitation on what the check certifies. No filler or restatement of the title.

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?

The output schema exists, so return values need not be explained, and the annotations plus the non-certification caveat cover the safety and interpretation side. However, for a 24-parameter tool with very low schema coverage, the description gives no help in deciding which parameters to populate per document type, which is the main complexity an agent faces here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 24 parameters and only 21% schema description coverage, the description needs to compensate and largely does not. It hints at two parameter families (page/format rules versus authority verification), but adds no meaning for the many undocumented booleans such as witness_own_words, is_self_contained, defines_and_confines_matters_in_dispute, or reuses_prior_position_statement_with_update. An agent must infer from bare parameter names which flags matter for which document_type.

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 (checks) plus the resources it operates on: structured observations measured against England and Wales page/format rules and a New Beginnings authority-verification safeguard, scoped to AI-assisted financial-remedy court documents. The scope qualifiers ('financial-remedy', 'England and Wales') let an agent separate it from siblings like audit_legal_proposition or review_generic_draft_claims. 'Structured observations' is slightly abstract, but the schema resolves that.

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 timing ('Use before relying on, serving or filing') and a concrete input constraint ('Do not send the document text itself'), which is real when-to-use guidance an agent can act on. It stops short of naming alternative tools or stating when this check is unnecessary, so it is clear context without explicit exclusions.

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