Skip to main content
Glama
SreeTarak2

DataFlow MCP Server

by SreeTarak2

submit_structured_records

Submit structured contest records, validate required fields, and upsert into Contests collection with deduplication by source and title.

Instructions

Submit structured contest records (following the contest-structuring-v4.0.txt schema) produced by a chatbot. Validates required fields and upserts into the Contests collection.

Deduplication key: source.name + title (same as process_raw_data). Plus an optional duplicate-title GATE (on by default): any record whose title matches an existing LIVE contest — same normalized title from a different source, or a reworded title from the same source — is SKIPPED and reported under "duplicates". The same-source exact-title match is the intended update path and still updates in place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dedupe_gateNoIf True (default), block records that duplicate an existing live contest by normalized title. Set False to force-insert (e.g. intentional re-ingest).
records_jsonYesJSON string — either a single object or an array of structured contest objects following the v4.0 schema

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations are provided, so the description carries the full burden. It thoroughly discloses the upsert behavior, validation, deduplication key, the optional duplicate-title gate, skip/report behavior for duplicates, and the same-source exact-title update path.

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 two tight paragraphs, front-loaded with the core action and then detailing dedup logic. Every sentence contributes meaningful information with no redundancy or fluff.

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 moderate complexity, an output schema exists, and the schema covers parameters, the description is complete: it covers what the tool does, validation, upsert, dedup rules, and the gate behavior. No critical behavioral gaps are apparent.

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% and both parameters are already well-described. The description adds value by explaining the deduplication key and the practical effect of the dedupe_gate parameter, which enriches understanding beyond the schema.

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's verb ('Submit'), resource ('structured contest records'), and outcome ('upserts into the Contests collection'), while referencing the exact schema. It distinguishes from siblings by specifying contest records rather than events or other data types.

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

Usage Guidelines4/5

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

Provides clear context: records are produced by a chatbot and follow a specific schema, and the deduplication key links it to process_raw_data. However, it does not explicitly mention when not to use this tool or name alternatives like submit_structured_events.

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