Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

cancel_stimulus

Cancel pending scheduled stimuli by schedule ID or stop all holds and schedules sharing a label. Use it to halt upcoming or grouped stimulation before it fires.

Instructions

Cancel one schedule_stimulus schedule, or a whole labelled group of stimuli.

Give exactly one argument. schedule_id cancels the entries of that schedule that have not fired yet. label cancels every running hold_stimulus hold and every schedule_stimulus schedule that was started with that label (a schedule that already finished is listed as schedules_already_finished). The label-to-schedule map lives in this MCP server, so schedule labels are forgotten when it restarts.

Args: schedule_id: Id returned by schedule_stimulus (404 once the schedule has finished) label: Group name given to hold_stimulus / schedule_stimulus

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": "cancel_stimulus"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
schedule_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it discloses that only not-yet-fired entries are cancelled, that a finished schedule yields a 404, that finished schedules appear in schedules_already_finished, and that the label-to-schedule map is in-memory and lost on restart. Those are exactly the mutation-scope, error, and state-persistence traits an agent needs and cannot get from the schema.

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?

The core behavioral facts are front-loaded in the first paragraph, and the Args block is a clean lookup. There is minor redundancy between the prose and the Args section (the label semantics are stated twice), but nothing that wastes meaningful space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, yet the description still names the schedules_already_finished field to set expectations. For a two-mode mutation tool with no annotations, the mutation scope, error behavior, and persistence caveat are all covered.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: schedule_id is defined as the id returned by schedule_stimulus with its 404 failure mode, and label as the group name passed to hold_stimulus/schedule_stimulus. The mutual exclusivity rule ('exactly one argument') is also stated nowhere in the schema, which marks both parameters optional.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb and resource ('Cancel one schedule_stimulus schedule, or a whole labelled group of stimuli') and immediately distinguishes the two cancellation scopes. An agent can tell from this alone that this is the inverse of schedule_stimulus and hold_stimulus.

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?

It gives an explicit selection rule between the two modes ('Give exactly one argument') and spells out what each mode affects, which is real when-to-use guidance. It stops short of naming alternatives such as get_stimulus_schedule for discovering ids/labels before cancelling, which would have made it a 5.

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