Skip to main content
Glama

set_validation_status

Approve, reject, or flag form submissions without deleting them, and mark test or invalid responses for filtering during analysis.

Instructions

Set the validation status of submissions.

Use this to approve, reject, or flag submissions without deleting them. Useful for marking test/garbage data so it can be filtered out of analysis.

Args: form_uid: The unique identifier (uid) of the form. submission_ids: List of submission _id values to update. status: One of "approved", "not_approved", "on_hold".

Returns: JSON object with update status.

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": {
      "form_uid": "<form_uid>",
      "submission_ids": "<submission_ids>",
      "status": "<status>"
    },
    "name": "set_validation_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
form_uidYes
submission_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the operation is non-destructive and that the status set is limited to three values, but it says nothing about permissions, idempotency, or what happens when some submission_ids are invalid or the update partially fails.

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-loaded with the action, followed by usage context and a clean args/returns block. Efficient overall, with only mild redundancy between the opening line and the Args section.

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?

All three required parameters are described and the allowed status values are supplied, which the schema omits. An output schema exists so return details need not be expanded, leaving only the absence of permission or partial-failure behavior as a gap.

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

Parameters4/5

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

Schema coverage is 0% and the schema declares status as a bare string, so the description's enumeration of the allowed values ('approved', 'not_approved', 'on_hold') adds real meaning. It also explains submission_ids as a list of _id values to update, though form_uid is only restated as a uid.

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: 'Set the validation status of submissions.' The phrase 'without deleting them' implicitly distinguishes it from destructive submission-management siblings, though no sibling is named directly.

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 purpose ('approve, reject, or flag') and a concrete motivating scenario ('marking test/garbage data so it can be filtered out of analysis'). It stops short of naming an alternative tool or stating when-not to use it, so it earns a 4 rather than a 5.

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