Skip to main content
Glama

Restore a deleted Forms answer

forms_answers_restore

Bring a deleted answer of a form back.

Instructions

Bring a deleted answer of a form back.

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": {
      "survey_id": "<survey_id>",
      "answer_id": "<answer_id>"
    },
    "name": "forms_answers_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
answer_idYesId of the deleted answer (integer).
survey_idYesForm id (24-char hex).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. First observedv0.67.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is covered; the description adds nothing beyond them. Critically, it does not explain what happens on a non-deleted or already-restored id (relevant given idempotentHint=false), nor does it acknowledge the dry_run preview mechanism exposed in the schema, which is the main behavioral lever an agent would need to reason about for a mutation.

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?

A single short sentence with the action front-loaded and no wasted words. It is arguably too terse for a mutation tool, but there is no structural or verbosity problem to penalize.

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?

The annotations carry the read/write and idempotency profile and the schema fully documents all three parameters, so the description need not restate them. However, for a restore operation with no output schema and an explicit dry_run preview flag, the definition leaves the agent without any statement of effect, failure conditions, or what the preview returns.

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%, so survey_id, answer_id and dry_run are fully documented in the schema itself. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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 uses a specific verb-plus-resource formulation ('Bring a deleted answer of a form back') that makes the operation immediately identifiable and implicitly contrasts with forms_answers_delete. It does not name a sibling or explicitly state the inverse relationship, but an agent can tell what the tool does 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the word 'deleted' — this is the undo path after forms_answers_delete — but there is no explicit when/when-not guidance, no prerequisite about the answer needing to currently be in a deleted state, and no mention of alternatives or the dry_run preview path.

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

Deploy Server

Other Tools