Skip to main content
Glama

Restore a passed company

restore_company
Idempotent

Restores a company the rep passed on, the same Restore the Whimbrel app shows: it goes back in To review on Suggested. With no company, returns the companies the rep passed on (Suggested's Passed tab), newest first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "restore_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNoThe company to restore. Leave empty to see what was passed on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / company / description
      Previous value: -"The company to bring back. Leave empty to see what was passed on."New value: +"The company to restore. Leave empty to see what was passed on."
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare not-read-only, idempotent and non-destructive; the description adds genuinely new behavior: the restored company reappears in 'To review' on Suggested, and the empty-argument case returns passed companies newest-first. It does not cover failure cases, e.g. restoring a company that was never passed on.

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 and its effect, then the no-argument fallback. The parenthetical reference to the Whimbrel app UI ('the same Restore the Whimbrel app shows') is slightly wordy but earns its place by anchoring the semantics.

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?

No output schema exists, and the description covers the return shape for the empty-argument case and the post-restore state, which are the key unknowns. It stops short of describing error behavior or edge cases, a minor gap for a single-parameter tool.

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 100%, so the lone 'company' parameter is already documented; the description still adds meaningful semantics by spelling out that omitting it switches the call from a restore action to a listing action ordered newest first.

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 ('Restores a company the rep passed on') and clarifies the resulting state ('goes back in To review on Suggested'), which makes it distinguishable from pass_company despite not naming that sibling 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?

Clear about the two modes: restore a named company, or call with no company to see what was passed on (Suggested's Passed tab). It doesn't name alternatives such as pass_company or remove_target, but the usage context is unambiguous.

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