Skip to main content
Glama

Create Org Digest

create_org_digest

Create the organization's All Costs digest — the org-wide spend recap email (POST /api/reports/custom-reports/schedules with no report). There is ONE per organization; if it already exists you get already_scheduled with its schedule_id (use update_report_schedule). Its email recipients are NOT set here: it goes to members by role (super_admin, admin and contributor by default; viewers opt in), and each member can opt in/out from their profile. frequency: daily | weekly (Mondays, default) | monthly (the 3rd), sent at 13:00 UTC. Optional notification_channel_ids also posts it to Slack/Teams channels (email channels are refused). Included on every plan. Returns the saved digest including deliverable — false means the org has no connected integration and it will not send. 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: { "frequency": "weekly", "notification_channel_ids": ["<slack_channel_id>"], "confirm": true }.

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

Input Schema

NameRequiredDescriptionDefault
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.
frequencyNoHow 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). Default weekly.weekly
notification_channel_idsNoSlack or Teams channel ids (from list_notification_channels) to also post the digest to. Email channels are refused — the digest's emails go to members by role.

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?

Beyond readOnlyHint=false and destructiveHint=false, it discloses one-per-org conflict handling, role-based recipient behavior, send timing, deliverable:false when no integration exists, and the full write gate. It also states read-only cak_ API keys can never perform it, which is critical operational context not present in annotations.

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 description is front-loaded and organized, moving from purpose to conflict behavior to auth constraints to return caveat and an example. It is long and repeats some schema details, but the density is justified by the write-gate complexity.

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?

It is complete for a complex write tool: it covers what is created, uniqueness, recipients, channels, auth prerequisites, refusal behavior, and the deliverable return caveat despite no output schema. An agent has enough information to call it and relay errors correctly.

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%, so the baseline is 3. The description largely mirrors schema details for frequency, notification_channel_ids, and confirm; its extra value is mostly tool-level context rather than additional parameter semantics.

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 description opens with a specific verb and resource, 'Create the organization's All Costs digest', and clarifies endpoint scope and one-per-org uniqueness. It names update_report_schedule for the already-exists case, making it distinguishable from that sibling.

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?

It states the create case, explicitly redirects the already-exists case to update_report_schedule, and lists all four prerequisites for a successful write. It also explains notification channel behavior and refusal conditions, leaving little ambiguity about when and how to use it.

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