Skip to main content
Glama
RCA-MCP Connector

RCA-MCP Connector

rca_guide_pdf_preview

Read-onlyIdempotent

Preview a PDF before full ingestion to verify parsing quality and detect scanned pages, tables, fault codes, and part numbers so you can choose the right parsing strategy.

Instructions

Starter+ plan required. Preview a PDF document before full ingestion to verify parsing quality. Always call this BEFORE rca_guide_ingest_pdf.

Strategies: text_native (born-digital, fastest), ocr (scanned, needs Tesseract), table (parts lists/spec tables), mixed (combination), auto (recommended default).

Args: params (GuidePDFPreviewInput): pdf_base64, n_pages, strategy

Returns: str: JSON with detected_strategy, page_count, scanned_page_ratio, estimated_quality, sample_text, fault_codes_preview, part_numbers_preview, tables_found, recommendations, dependencies

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": {
      "params": "<params>"
    },
    "name": "rca_guide_pdf_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.1.15
    • addedInput schema / $defs / GuidePDFPreviewInput / properties / client_id / description
      Added value: +"Client namespace ID"
    • addedInput schema / $defs / GuidePDFPreviewInput / properties / token / description
      Added value: +"API key to authenticate this request"
  2. First observedv4.1.13

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that with a plan gate ('Starter+ plan required'), a cost-saving intent (preview before full ingestion), and an external dependency disclosure (Tesseract required for the ocr strategy). It stops short of describing failure modes or limits per call beyond what the schema states.

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?

Front-loaded with the plan requirement, purpose, and the ordering rule, then the strategy menu; every section is easy to scan. The 'Returns' block restates what the output schema already provides and the Args line adds little, so a small amount of content is not earning its place.

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 read-only preview tool with a full output schema, the description covers the prerequisites (plan tier), the sequencing contract with the ingest sibling, and the strategy choice space. The redundant Returns listing is unnecessary given the output schema, and per-parameter details like n_pages bounds are left to the schema, but nothing critical for correct invocation is missing.

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?

The Args section merely echoes parameter names without adding meaning, and omits the required 'token' and 'pdf_base64' members. Compensation comes from the strategy list, which explains what each enum value does and what it requires (Tesseract for ocr, fastest for text_native), adding genuine meaning beyond the schema's bare pattern string. Partial coverage only, so a mid score.

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 ('Preview a PDF document before full ingestion') plus the goal ('verify parsing quality'), and explicitly names the sibling it precedes (rca_guide_ingest_pdf). An agent can distinguish this from rca_guide_ingest_pdf without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit ordering rule ('Always call this BEFORE rca_guide_ingest_pdf') and enumerates parsing strategies with the conditions that select each (text_native for born-digital and fastest, ocr for scanned and needs Tesseract, table for parts lists, auto as recommended default). Both when-to-use and which-option guidance are present.

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

Deploy Server

Other Tools