Skip to main content
Glama

whats_next_restore

Idempotent

Restore a personally dismissed recommendation when the user asks. For a task, pass kind "task" and its ID from whats_next's dismissedRecommendations; for a release suggestion, pass kind "release" and dismissedReleaseSuggestion.id.

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": {
      "projectId": "<projectId>",
      "kind": "<kind>",
      "targetId": "<targetId>",
      "context": "<context>"
    },
    "name": "whats_next_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
targetIdYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered structurally. The description adds the useful 'personally dismissed' ownership scope but says nothing about what happens if the recommendation no longer exists or what the restore returns. That is a modest addition over the annotations, hence a 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the action and trigger stated first and the per-kind lookup detail second. Every clause earns its place by resolving a routing or ID-provenance question.

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 4-required-param idempotent mutation with no output schema, the description covers the essential decision points (when to call, which kind, where the ID comes from). It leaves projectId and the failure/return behavior undocumented, which keeps it short of fully complete.

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?

With only 25% schema coverage (only 'context' is documented), the description carries the burden for 'kind' and 'targetId', and it does: it maps each enum value to the correct ID source (dismissedRecommendations vs. dismissedReleaseSuggestion.id), which the bare enum does not convey. 'projectId' remains unexplained in both schema and description.

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 ('Restore') plus a clearly scoped resource ('a personally dismissed recommendation'), which implicitly inverts the sibling whats_next_dismiss and contrasts with whats_next. It never names those siblings explicitly, so an agent must infer the routing rather than being told.

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?

'when the user asks' gives a concrete trigger condition, and the two branches (task vs. release) tell the agent exactly which case applies. There are no explicit exclusions, e.g. what to do if the recommendation was never dismissed or was dismissed by someone else.

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