Skip to main content
Glama

Test Notification Channel

test_notification_channel

Send a test message to a notification channel by its id (POST /api/reports/cost-dashboard/notification-channels/{id}/test). SIDE-EFFECTING — this dispatches a REAL test message to the channel destination (a real Slack/Teams post or email), so recipients will see it. Returns { success, message }. 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: { "channel_id": "chan-123", "confirm": true } sends a real test message.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "test_notification_channel"
  }
}

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.
channel_idYesThe id of the channel to test (substituted into POST /api/reports/cost-dashboard/notification-channels/{id}/test).

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?

Goes far beyond the annotations: it warns that a REAL Slack/Teams/email message reaches recipients, lists all four authorization prerequisites (scope, org switch, role, confirm), notes that read-only keys can never perform it, and describes the failure mode where the error names the missing condition. Annotations only flag non-read-only/non-idempotent open-world behavior; the description supplies the consequences and auth model.

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?

Front-loads the action and endpoint, then the side-effect warning, then the authorization block — a sensible order. It is dense with bolded emphasis, but nearly every clause carries operational information; only the repeated confirm requirement edges toward redundancy with the schema.

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 write tool with no output schema, it covers the side effect, the return shape ({ success, message }), the full authorization chain, and the failure behavior. Nothing an agent needs to call it safely and interpret the result 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, but the description adds a concrete invocation example showing channel_id plus confirm:true together and reiterates that confirm is what actually triggers the mutation. That clarifies the interplay between the two parameters beyond their individual schema descriptions.

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 ('Send a test message to a notification channel by its id') plus the exact endpoint, which cleanly separates it from the create/delete/update/list channel siblings. An agent can identify the operation without opening the 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?

Explains the exact trigger context (testing a specific channel) and spells out the four conditions required for the call to succeed, plus the instruction to relay the error rather than retry. It does not name an alternative sibling, but none is plausibly confusable with a test dispatch, so the gap is minor.

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