Skip to main content
Glama

Update Report Schedule

update_report_schedule
Idempotent

Change a report schedule in place (PUT /api/reports/custom-reports/schedules/{id}): any of frequency (daily | weekly = Mondays | monthly = the 3rd, 13:00 UTC), is_active (false pauses, true resumes), notification_channel_ids (replaces the channels; [] detaches all) and emails (team only; replaces the addresses, max 5; [] clears). Only the fields you send change. Rules the backend enforces: a team schedule must keep at least one email or channel (to stop it entirely, pause or delete it); personal schedules take no emails/channels; the digest takes Slack/Teams channels but never emails (its recipients are members by role). Team schedules can be changed by their creator or an admin; a personal schedule only by its creator. Returns the updated schedule with its resolved channels. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "schedule_id": "…", "frequency": "monthly", "confirm": true }; { "schedule_id": "…", "is_active": false, "confirm": true } pauses it.

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "update_report_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsNoTeam schedules only: REPLACES the ad-hoc addresses (max 5; [] clears; omit to keep).
confirmNoSet to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side.
frequencyNoNew cadence. How often the recap is emailed: daily (every day) | weekly (Mondays) | monthly (the 3rd). Every send goes out at 13:00 UTC and covers a window ending 2 days before the send (the data-completeness lag).
is_activeNofalse pauses the schedule (nothing sends); true resumes it.
schedule_idYesThe schedule to change (schedule_id from list_report_schedules).
notification_channel_idsNoREPLACES the attached channels ([] detaches all; omit to keep). Team schedules: any channel type. The digest: Slack/Teams only. Personal schedules take none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Far exceeds the annotations: it discloses the four-part authorization gate (admin:write scope, org switch, admin/super_admin role, confirm:true), that failure changes nothing and names the missing requirement, that read-only keys can never perform it, and the creator/admin ownership rules for team vs personal schedules. It also documents return behavior ('Returns the updated schedule with its resolved channels') and cross-field backend invariants.

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 critical scope and mutation model are front-loaded in the first clause, and the write-gating warning is capitalized and prominent. It is a dense single paragraph with some repetition of schema-documented details (send times, the 2-day lag), but nearly every sentence carries operational value.

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?

For a partial-update write tool with no output schema, the description covers auth prerequisites, side effects of empty arrays, ownership rules, error behavior, and the shape of the return value. Nothing an agent needs to invoke it safely is missing.

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 baseline is 3; the description earns above that by adding cross-parameter constraints the schema does not express — a team schedule must retain at least one email or channel, personal schedules accept no emails/channels, and the digest takes Slack/Teams channels but never emails. Most individual field semantics ([] clears, omit to keep, 13:00 UTC, data lag) are restated from the schema rather than added.

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 ('Change a report schedule in place') plus the underlying endpoint PUT /api/reports/custom-reports/schedules/{id}, and enumerates exactly which fields are mutable. This clearly separates it from create_report_schedule and delete_report_schedule without the agent needing to inspect schemas.

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?

Gives strong context for when this applies (in-place edits, partial update: 'Only the fields you send change') and an explicit alternative for the when-not case ('to stop it entirely, pause or delete it'). It also tells the agent not to retry on a gating error but to relay it. It stops short of naming sibling tools for adjacent needs, so not a full 5.

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