Skip to main content
Glama
deBilla

BigQuery MCP

by deBilla

get_notebook_schedule

Read-onlyIdempotent

Fetch a scheduled notebook's cron, notebook, and recent run errors to diagnose failures and inspect run history.

Instructions

Get one scheduled notebook in full: its cron, its notebook, and recent runs.

Call this after list_notebook_schedules to see why a scheduled notebook is failing. The error text for each failed run is included, and notebook_id is a code asset id — pass it to get_code_asset to read the code that failed.

Args: schedule: The schedule's name or its id from list_notebook_schedules. runs: How many recent runs to include, newest first. environment: Which configured environment to read. Omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runsNo
scheduleYes
environmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, but the description adds real behavioral context: error text for each failed run is included, runs are returned newest first, and notebook_id is revealed to be a code asset id. It stops short of mentioning auth requirements or limits, but for a read tool this is well above the annotation-covered baseline.

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?

Front-loaded one-sentence summary, then a short usage paragraph, then a compact Args block. Every sentence supplies either routing or parameter meaning; no filler.

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?

There is no output schema, so the description correctly compensates by describing the return contents (cron, notebook, recent runs with error text). Combined with named entry points and a follow-up tool, an agent has everything needed to call it correctly.

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?

With 0% schema description coverage the description carries the full burden and does so for all three params: schedule accepts a name or an id from list_notebook_schedules, runs sets the count and ordering ('newest first'), and environment selects a configured environment with an explicit omit-for-default rule.

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 ('Get one scheduled notebook in full') and enumerates the payload (cron, notebook, recent runs). It is clearly distinguishable from the sibling list_notebook_schedules, which returns the collection rather than one schedule.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: 'Call this after list_notebook_schedules to see why a scheduled notebook is failing,' and hands off the next step ('pass it to get_code_asset to read the code that failed'). The trigger condition and the alternative tool chain are both named.

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