Skip to main content
Glama
timmKal01

ke-tenders-audit-mcp

by timmKal01

file_flag

Add a sourced red flag to a case file, capturing the finding and supporting evidence for human approval before it is recorded.

Instructions

WRITE, needs human approval. Add one flag to the case file.

finding: the pattern in one plain sentence. evidence: the numbers behind it. Refused if the ocid is unknown or the wording decides the award or declares wrongdoing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ocidYes
case_idYes
findingYes
evidenceYes
flag_typeYes
approved_byNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it flags the write nature, the human-approval requirement, and the exact content conditions that cause rejection. It does not cover idempotency, duplicate-flag behavior, or what happens to case state after writing, which are the remaining behavioral gaps.

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?

Front-loads the two most important facts (WRITE, needs approval) in the first clause, then adds the field guidance and refusal rules without padding. The fragmentary phrasing around finding/evidence is terse but readable.

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

Completeness3/5

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

An output schema exists, so return values needn't be described, and the description covers the mutation/approval profile and rejection rules. The unresolved gap is the four undocumented parameters, including flag_type, whose semantics and allowed values are unavailable anywhere in the definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters, so the description must supply meaning for all of them. It explains only two ('finding' = the pattern in one sentence, 'evidence' = the numbers behind it), leaving ocid, case_id, flag_type, and approved_by entirely undocumented in both places.

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?

States a specific verb and resource: 'Add one flag to the case file,' which is concrete and tells the agent this creates an artifact rather than querying one. It does not explicitly distinguish itself from the sibling check_red_flags, but the write framing is clear enough to separate the two in most cases.

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?

Gives a hard precondition ('needs human approval') and explicit refusal conditions (unknown ocid, wording that decides the award or declares wrongdoing), which functions as meaningful when-not guidance. It never names an alternative tool such as check_red_flags, so routing among siblings is left partly to inference.

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