Skip to main content
Glama

Get reconciliation flags

get_recon_flags
Read-only

Lists settlement cycles whose net payout differs from the expected net by more than 5% of gross, with total estimated leakage. Amazon, Flipkart, Meesho, Myntra, Snapdeal; default last 90 days. Estimates against a per-channel baseline fee %, not the seller's rate card.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_recon_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart date (ISO, e.g. 2026-10-01, IST day). For "this month" send the 1st of the current month; for "last month" send its 1st with until = its last day. Default: 90 days ago.
untilNoEnd date (ISO, inclusive IST day). Default: today.
channelNoLimit to one channel. Default: all five.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Start date (ISO, e.g. 2026-10-01, IST day). Default: 90 days ago."New value: +"Start date (ISO, e.g. 2026-10-01, IST day). For \"this month\" send the 1st of the current month; for \"last month\" send its 1st with until = its last day. Default: 90 days ago."
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description does add real behavioral context beyond that: the 5% threshold, that leakage is an estimate, and that the estimate uses a per-channel baseline fee percentage rather than the seller's own rate card — a meaningful accuracy caveat. It does not discuss pagination, ordering, or what happens when no cycles breach the threshold.

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?

Two sentences, no filler, with the detection rule front-loaded before the estimation caveat. The first sentence is dense (threshold, aggregation, and channel list in one clause) but every element earns 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?

With an output schema present, the description need not explain return values, and it covers the substantive questions: what qualifies as a flag, the default time window, the channel scope, and how the leakage figure is derived. The remaining gap is routing guidance against sibling reconciliation and fee tools, which is a usage concern rather than a completeness one.

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 coverage is 100%, including ISO date patterns, the 'this month'/'last month' conventions, defaults, and the channel enum, so the schema carries the parameter burden. The description only echoes the default 90-day window and the channel list, adding essentially no meaning beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a precise verb and resource plus the exact detection rule: settlement cycles where net payout deviates from expected net by more than 5% of gross, returned with total estimated leakage. That is far more specific than a restatement of the name. It stops short of naming which sibling to use instead (e.g. a leak ledger or fee-breakdown tool), so the differentiation is inferential rather than explicit.

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

Usage Guidelines3/5

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

It states the channel universe (Amazon, Flipkart, Meesho, Myntra, Snapdeal) and the default window (last 90 days), which frames when the tool applies. However, there is no explicit when-to-use or when-not-to-use guidance, and no pointer to an alternative tool for a different reconciliation question.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources