Skip to main content
Glama
Firenook

Firenook

Official

schedules_run

Destructive

Run a scheduled function now by publishing one tick to its schedule topic as Cloud Scheduler would, then report the run and its side effects.

Instructions

Run a scheduled function now: publish one tick to its schedule topic, as Cloud Scheduler would, and report the run; the function's code runs, side effects included. schedules_list shows the scheduled functions and their latest runs.

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": {
      "function": "<function>"
    },
    "name": "schedules_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
functionYesFunction name or its region-qualified id, e.g. nightlyReport or us-central1-nightlyReport

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=false, and the description earns credit by explaining why: the function's code actually executes with side effects, and a tick is published rather than the job merely being inspected. It does not say whether the call waits for the function to finish or what happens on repeated invocation, which are the remaining behavioral gaps.

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: the action and its mechanism come first, the consequence (side effects) second, and the sibling pointer last. Every clause carries information an agent needs.

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 one-parameter tool with annotations covering the safety profile and no output schema, the description is nearly sufficient — it covers mechanism, side effects, and the listing alternative. It leaves only return/blocking behavior and failure modes implicit.

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% and the single 'function' parameter already documents both the bare name and region-qualified id with examples. The description adds no further parameter meaning, so the baseline of 3 applies.

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?

States a specific verb and resource ('Run a scheduled function now') and then explains the exact mechanism: publishing one tick to the schedule topic as Cloud Scheduler would. The final clause points at schedules_list, so an agent can separate this execution tool from the listing tool without opening either schema.

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?

The phrase 'now' and the comparison to Cloud Scheduler make the manual-trigger use case clear, and schedules_list is named for inspection instead of execution. It stops short of explicit when-not guidance (e.g. not for testing in production, or a note about tasks_run), so it is clear context rather than a full routing rule.

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