Fact Check
agent.json
{
"id": "agentrove.fact-check",
"name": "Fact Check",
"version": "0.1.2",
"license": "MIT",
"summary": "Checks claims (or a script's claims) against sources you provide and marks each supported, unsupported or needs_review, with the matching source excerpts and any mismatched numbers or dates. Never marks a claim supported without a matching excerpt.",
"sdk_import": "../../../sdk/index.js",
"entry": {
"module": "src/index.js",
"cli": "bin/cli.js",
"mcp": "bin/mcp.js"
},
"tools": [
{
"name": "check_claims",
"description": "Check claims against a source_list. Pass ONE factual statement per claim; claim text with several sentences (or the optional top-level text, e.g. a paragraph to check) is split into one claim per sentence, each with its own verdict, and questions are skipped. supported = at least one source sentence covers the claim's content words (default 80%) with the same numbers, dates, polarity and direction of change, and the cited source (if any) is that source. unsupported = no matching sentence, or only clearly contradicting ones. needs_review = partial matches, missing figures, conflicting sources or citation problems. Returns a fact_check_report with excerpts and number_mismatches.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": [
"sources"
],
"properties": {
"claims": {
"type": "array",
"maxItems": 500,
"items": {
"type": [
"string",
"object"
],
"maxLength": 2000,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000
},
"source_url": {
"type": "string",
"maxLength": 2048
},
"sources": {
"type": "array",
"maxItems": 50,
"items": {
"type": "string",
"maxLength": 2048
}
}
}
},
"description": "One factual statement per item (a string, or {text, source_url?, sources?}). Multi-sentence text is split into one claim per sentence."
},
"script": {
"type": "object",
"required": [
"claims"
],
"properties": {
"claims": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2000
},
"source_url": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 20000,
"description": "Optional paragraph(s) to check. Split into one claim per sentence; questions are skipped."
},
"sources": {
"type": "array",
"maxItems": 200,
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"pattern": "^https?://",
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 2000
},
"published_at": {
"type": "string"
},
"excerpt": {
"type": "string",
"maxLength": 50000
},
"text": {
"type": "string",
"maxLength": 500000
},
"source_name": {
"type": "string"
}
}
}
},
"support_threshold": {
"type": "number",
"minimum": 0.5,
"maximum": 1
},
"review_threshold": {
"type": "number",
"minimum": 0.2,
"maximum": 0.95
}
}
},
"output_schema": {
"type": "object",
"required": [
"report"
],
"properties": {
"report": {
"type": "object",
"required": [
"claims",
"summary",
"generated_at",
"notes"
],
"properties": {
"claims": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"verdict",
"evidence",
"excerpts",
"reasons",
"number_mismatches"
],
"properties": {
"text": {
"type": "string"
},
"verdict": {
"enum": [
"supported",
"unsupported",
"needs_review"
]
},
"evidence": {
"type": "array",
"items": {
"type": "string"
}
},
"excerpts": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"text",
"relation"
],
"properties": {
"url": {
"type": "string"
},
"text": {
"type": "string"
},
"relation": {
"enum": [
"supports",
"conflicts",
"partial"
]
},
"coverage": {
"type": "number"
}
}
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"number_mismatches": {
"type": "array",
"items": {
"type": "object",
"required": [
"claim_value",
"source_values",
"url"
]
}
},
"cited_source_matched": {
"type": "boolean"
},
"split_from": {
"type": "string",
"description": "Present when this claim is one sentence of a longer input, e.g. \"claims[0]\" or \"text\"."
}
}
}
},
"summary": {
"type": "object",
"required": [
"total",
"supported",
"unsupported",
"needs_review"
],
"properties": {
"total": {
"type": "integer"
},
"supported": {
"type": "integer"
},
"unsupported": {
"type": "integer"
},
"needs_review": {
"type": "integer"
}
}
},
"generated_at": {
"type": "string",
"format": "date-time"
},
"method": {
"type": "object"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
],
"permissions": {
"filesystem": "none",
"network": [],
"credentials": []
},
"io": {
"inputs": [
{
"name": "script",
"type": "script"
},
{
"name": "sources",
"type": "source_list"
}
],
"outputs": [
{
"name": "report",
"type": "fact_check_report"
}
]
},
"runtimes": [
{
"id": "node",
"version": ">=20",
"tested": true
},
{
"id": "claude-code",
"tested": false,
"notes": "MCP stdio server; not yet verified in Claude Code by AgentRove"
}
],
"external_costs": "None. Runs fully offline with no AI model or paid API."
}