Skip to main content
Glama

Снятие метки «Подозрительный ответ»

dismiss_answer_quality_flag
Destructive

Снимает с ответа метку «Подозрительный ответ» (too_fast, same_answers, gibberish) или возвращает её. Ответ со снятой меткой не находит фильтр quality, в том числе по признакам, появившимся позже; в отчётах он учитывается как прежде.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "quiz_id": "<quiz_id>",
      "answer_id": "<answer_id>",
      "dismissed": "<dismissed>"
    },
    "name": "dismiss_answer_quality_flag"
  }
}

Input Schema

NameRequiredDescriptionDefault
quiz_idYesID опроса.
answer_idYesID ответа.
dismissedYestrue — снять метку: ответ больше не подозрительный, false — вернуть метку.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds genuinely non-obvious behaviour: the dismissal suppresses the answer from the quality filter even for flag criteria that appear later, while reports still count it as before. That is real side-effect disclosure beyond the annotations. It does not cover permissions or whether the change is reversible by anyone other than calling again with dismissed=false.

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, front-loaded with the action and the affected resource, with no filler. The second sentence carries the non-obvious consequence, so every clause earns its place; only a slightly denser phrasing of the flag list could tighten it further.

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 tool with a fully documented schema and no output schema, the definition covers purpose, the reversible direction, and the downstream effect on the quality filter and reports. What remains unstated is the failure mode (e.g. what happens if the answer is not currently flagged) and any permission requirement, which keeps it short of a 5.

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 100% and all three parameters are documented in the schema, including the boolean `dismissed` semantics (true = remove flag, false = restore). The description adds no syntax or constraint detail beyond that, so the baseline 3 applies. It also does not clarify the relationship between quiz_id and answer_id (whether the answer must belong to that quiz).

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 states a specific verb and resource: removing (or restoring) the «Подозрительный ответ» flag on an answer, and enumerates the three flag kinds (too_fast, same_answers, gibberish). An agent can immediately tell this is not a generic tag/visibility toggle, though it never names a sibling such as toggle_answer_visibility or tag_answer to draw the boundary explicitly.

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?

The usage context is implied rather than stated: the note that a dismissed answer no longer matches the quality filter tells the agent why it would call this, but there is no explicit when-to-use/when-not framing, no prerequisites (permissions, whether the quiz must be open), and no named alternative for the reverse case beyond the `dismissed` flag itself.

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