Skip to main content
Glama

Flag result

flag_result

Flag a synthesized usability issue as inaccurate or hallucinated to help tune the models. Pass the testId and the issue id from get_test_results; reason is optional.

Input Schema

NameRequiredDescriptionDefault
reasonNo
testIdYes
issueIdYes

Output Schema

NameRequiredDescriptionDefault
flaggedNoTrue once the issue was recorded as flagged.
issueIdNoThe flagged issue id (echoed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds useful context by stating the flag helps tune models and by specifying which IDs to supply, but it does not describe reversibility, repeat-call behavior, or success effects, so the added value beyond annotations is moderate.

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?

Two sentences, front-loaded with the action and purpose, then the parameter sourcing. Every clause earns its place with no filler.

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?

For a three-parameter mutation with annotations and an output schema, the description covers the action, the source of required IDs, and the optional parameter. It is nearly complete, though it could say more about what a flag changes or whether it can be reversed.

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 0%, so the description must carry the load. It identifies both required parameters and their source (testId and issue id from get_test_results) and notes that reason is optional, but it does not explain what reason should contain or how the IDs are formatted, leaving a real gap for an undocumented 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?

States a specific verb and resource: 'Flag a synthesized usability issue as inaccurate or hallucinated.' It also names a sibling, get_test_results, as the source for the IDs, so an agent can distinguish this tool from neighbors without opening the schema.

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 clear triggering condition: use when a usability issue is inaccurate or hallucinated, and explains that testId and issueId come from get_test_results. It does not name an alternative tool or an exclusion case, so it falls just short of a 5.

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