Skip to main content
Glama
SreeTarak2

DataFlow MCP Server

by SreeTarak2

flag_contest_discrepancy

Flag factual discrepancies in contest data found during AI research and save them for human review without modifying original contest records.

Instructions

Flag a factual discrepancy found in CONTEST DATA during AI research.

When a chatbot discovers a concrete, verifiable error in the Contests collection while doing research (e.g. the prize on the official page differs from what's stored), it can call this tool to save the finding to the flagged_discrepancies collection for human review.

This tool does NOT modify the Contests collection — it only records the finding. A human should review and resolve via the appropriate pipeline (apply_migration_patch, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoPipeline stage that detected it (e.g. "ai_detail_generation", "ai_validation")ai_detail_generation
contest_idYesThe MongoDB ObjectId of the contest with the issue
flagged_byNoIdentifier for the chatbot/AI that found it (e.g. "claude-1", "chatgpt-mistral")
discrepancies_jsonYesJSON string — array of discrepancy objects. Each object: { "field": "prize.totalUSD", "currentValue": 50000, "observedValue": 10000, "sourceUrl": "https://...", "confidence": 0.95, "notes": "Official page clearly states $10,000" }

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It clearly discloses the non-modification of Contests and that it only records the finding. However, it does not mention whether the tool appends or overwrites existing flags, nor does it detail any return behavior beyond what an output schema might cover.

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?

The description is compact and well-structured. It opens with a one-sentence purpose, then gives context on when to use it, and closes with a critical behavioral note. Every sentence adds value without redundancy, making it easy to parse quickly.

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 simplicity and the presence of an output schema (indicated in context), the description fully covers what an agent needs: purpose, invocation context, side-effect clarification, and a pointer to subsequent human steps. No significant gaps remain.

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?

Schema description coverage is 100%, with each parameter documented in the input schema. The main description does not add parameter-level meaning beyond the schema, so the baseline of 3 is appropriate. The schema's detailed example for discrepancies_json compensates well for any lack of description-level detail.

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 starts with a specific verb and resource: 'Flag a factual discrepancy found in CONTEST DATA during AI research.' It clearly distinguishes this tool from siblings like update_document or apply_migration_patch by stating it records findings to a separate collection and does not modify Contest data.

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 explicitly states the trigger condition: when a chatbot discovers a concrete, verifiable error during AI research. It also provides an exclusion ('This tool does NOT modify the Contests collection') and points to human review via other pipeline tools (apply_migration_patch, etc.), making usage boundaries clear.

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/SreeTarak2/dataflow_mcp'

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