Skip to main content
Glama

convert_court_pdf

Convert local court PDFs into clean Markdown, extract court stamps, and detect checkboxes for structured case document review.

Instructions

Convert any local court PDF into clean Markdown with court stamp extraction & checkbox detection.

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": {
      "pdf_path": "<pdf_path>"
    },
    "name": "convert_court_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
engineNoauto
pdf_pathYes
overwriteNo
output_dirNo
render_dpiNo
ocr_all_pagesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It names the transformation and two extraction features but never says that the tool writes files to disk, whether existing outputs are replaced, when OCR is triggered, cost/speed implications of high render DPI, or what happens on a non-court PDF.

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?

A single front-loaded sentence with no filler; the core verb and output format come first and the feature clauses follow. Slightly promotional wording ('any', 'clean') is a minor cost but nothing is redundant.

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

Completeness2/5

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

An output schema exists, so return values need no explanation, but for a tool with six parameters and file-writing side effects the description is thin. The agent is left guessing about output location, engine selection, and OCR behavior before it can call this correctly.

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?

Schema description coverage is 0% across six parameters, so the description must compensate and largely does not. Only 'pdf_path' is weakly implied by 'local court PDF'; engine, overwrite, output_dir, render_dpi, and ocr_all_pages are never mentioned or explained.

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: 'Convert any local court PDF into clean Markdown', plus two concrete capabilities (court stamp extraction, checkbox detection). The word 'local' also implicitly separates it from the remote-fetch sibling download_and_convert_docket, so an agent can tell them apart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative. The only steer is the adjective 'local', which hints at files already on disk rather than docket retrieval, but the agent must infer that.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.