Skip to main content
Glama

flagAnswer

Flag or unflag one tester answer in this beta project. A flag is a manager-only bookmark for an answer worth coming back to (unclear, off-topic, or suspicious): the tester is not notified, the answer keeps counting in every result, and nothing about it changes for anyone else. listFlaggedAnswers reads the flagged set back, and every answer entry in the results reads already carries its own flagged state. answerId values come from the reads that list individual answers: free-text, file, instructions and ranking entries carry one, while choice and rate steps report per-option counts and the testers behind them, not answer ids.

Input Schema

NameRequiredDescriptionDefault
flaggedYestrue to flag the answer, false to remove an existing flag.
answerIdYesThe answer to flag or unflag. answerId values come from the reads that list individual answers: free-text, file, instructions and ranking entries carry one, while choice and rate steps report per-option counts and the testers behind them, not answer ids.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description goes well past that by declaring the flag is a manager-only bookmark, the tester is not notified, the answer keeps counting in every result, and nothing changes for anyone else. Those are exactly the non-obvious consequences an agent needs before mutating state.

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?

The behavioral constraint is front-loaded in the first sentence, followed by effect and then id provenance. Slightly long, and the answerId sentence duplicates the schema description of the same field, but no sentence is 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 no output schema, the description covers effect, side-effect visibility, notification behavior, and input provenance. It stops short of stating idempotency (flagging an already-flagged answer) or error behavior for an invalid or non-flaggable answerId, which would fully close the loop.

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%, so productId, answerId and flagged are already documented, and the description's answerId provenance sentence is repeated almost verbatim from the schema. It adds no new syntax, format, or edge-case meaning beyond what structured fields provide, so the baseline 3 applies.

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?

"Flag or unflag one tester answer in this beta project" gives a specific verb pair, a single-resource scope, and an owning entity (beta project). It is immediately distinguishable from listFlaggedAnswers, which reads the flagged set rather than mutating it.

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 states the precondition that governs invocation: answerId values only exist for free-text, file, instructions and ranking entries, while choice and rate steps expose per-option counts and no answer ids. It also points to listFlaggedAnswers and notes that every answer entry in results already carries its flagged state, telling the agent when it does not need this tool to inspect flags.

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