Skip to main content
Glama
EliyahuAI
by EliyahuAI

start_reference_check

Fact-check claims in text or documents (requires 4+ claims). Extract claims, preview sample validations, then approve full validation.

Instructions

Submit a reference-check job to fact-check text or a document.

For inline text: start_reference_check(text="The claims to fact-check...")

For a PDF or document, upload it first then pass the s3_key: upload_file(file_path, file_type="pdf") → returns s3_key start_reference_check(s3_key=s3_key) Do NOT call start_table_validation for PDFs — that starts the table validation pipeline, which is not what you want for a reference check.

Designed for text with 4 or more factual claims; fewer claims may produce low-quality results.

Three phases:

  • Phase 1 (free): claim extraction + 3-row preview validation (auto-triggered). wait_for_job blocks until status=preview_complete. Review preview_table (3 validated sample claims) and cost_estimate.

  • Approval gate: call approve_validation to proceed.

  • Phase 2 (charged): full claim validation. Returns XLSX, viewer URL, metadata.

Set auto_approve=True to skip the approval gate and run straight through to completion automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoInline text to fact-check (provide either text or s3_key, not both).
s3_keyNoS3 key of an already-uploaded file to fact-check (provide either text or s3_key).
auto_approveNoSkip the preview approval gate and run straight through to full validation automatically.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate readOnlyHint=false and openWorldHint=true. The description goes well beyond by detailing the three-phase workflow, auto-approve option, cost implications, and expected outputs (XLSX, viewer URL, metadata). It explains the approval gate and how wait_for_job interacts with phases, providing rich behavioral context.

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?

The description is well-structured with clear sections for inline text, file upload, and phases. It is informative but slightly lengthy; some details like the exact return of upload_file could be omitted. Overall, it is organized and front-loaded with key purpose.

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

Completeness5/5

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

Given the tool's multi-phase complexity, the description covers all essential aspects: input formats, phase details, approval gate, auto-approve, output types, and links to other tools (upload_file, wait_for_job, approve_validation). The output schema exists to cover return values, so completeness is excellent.

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% with clear descriptions for all three parameters. The description adds value by explaining the mutual exclusivity of text and s3_key, and clarifying the behavior of auto_approve. However, most parameter meaning is already in the schema, so the description enhances rather than replaces.

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?

The description clearly states the tool submits a reference-check job to fact-check text or documents. It distinguishes itself from sibling tool start_table_validation by explicitly stating not to use that for PDFs, and provides two input modes: inline text or S3 key of an uploaded file.

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?

The description provides explicit when-to-use guidance: for fact-checking text with 4+ claims, and when not to use: fewer claims may produce low-quality results. It also warns against using start_table_validation for PDFs, naming an alternative tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EliyahuAI/mcp-server-subindex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server