Skip to main content
Glama

restore_issue

Bring an issue back from the trash (see list_trash).

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": {
      "issue": "<issue>"
    },
    "name": "restore_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueYesissue identifier or id, e.g. "WEB-12"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / issue / description
      Added value: +"issue identifier or id, e.g. \"WEB-12\""
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a non-destructive mutation. The description adds that the target is a trashed item, which is useful context, but it does not say where the issue is restored to, whether prior state is preserved, or what an error looks like when the issue is not trashed.

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?

One short sentence, front-loaded with the action and resource, with the pointer to list_trash trailing rather than cluttering the opening. Nothing is wasted, though the parenthetical could be folded into a fuller guidance clause.

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?

For a one-parameter restore operation with annotations covering the safety profile and no output schema, this is close to sufficient. The remaining gap is the failure mode (issue not in trash, insufficient permission) and the post-restore state, which an agent may need to react to.

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?

With a single parameter at 100% schema coverage, the schema already documents the issue identifier and its format ("WEB-12"). The description adds no further meaning such as whether the id can be a trashed-issue handle versus a normal key, so the baseline of 3 applies.

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?

"Bring an issue back from the trash" names a specific verb (restore) and resource (issue) with a clear direction of effect, which distinguishes it from delete_issue or update_issue. It stops short of a full sibling differentiation, only pointing at list_trash as a reference rather than contrasting behaviors.

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 parenthetical "(see list_trash)" implies the prerequisite workflow: find the trashed issue there, then restore it here. There is no explicit statement of when not to use it or what happens if the issue is not actually in the trash, so usage is implied rather than stated.

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.