Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Configure push notifications

tzcloud_configure_push
Destructive

Configure or remove Apple and Google push providers for one environment. First store each credential for that application and environment with tzcloud_store_secret. This call checks its name, never its value. Your manifest must declare push. If it lists providers, tzcloud_submit_manifest configures them on every environment. Only Apple's gateway then needs a provider call. Other changes to manifest-provided configuration are refused manifest_owned_field.

Delivery needs the accounts service and devices registered after sign-in. Configuration takes effect on the next delivery, without a deploy. Success does not prove the credential works. After sending, check tzcloud_read_push and tzcloud_read_logs.

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": {
      "application": "<application>"
    },
    "name": "tzcloud_configure_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
fcmNoGoogle's provider, or null to remove it; the named secret is proved present at this environment's application scope and moved nowhere.
apnsNoApple's provider, or null to remove it; the named secret is proved present at this environment's application scope and moved nowhere.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNoThe environment you address, `production` where absent.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Beyond `destructiveHint: true` and `readOnlyHint: false`, the description discloses that only the secret NAME is checked and never its value, that the secret is proved present at environment scope, and that changes take effect on the next delivery without a deploy. It also flags the important caveat that success does not prove the credential works, and points to `tzcloud_read_push` and `tzcloud_read_logs` for verification.

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 purpose and the prerequisite are front-loaded, and nearly every sentence carries operational information (ownership conflicts, propagation, verification). A few sentences are compressed into near-telegraphic form ('Only Apple's gateway then needs a provider call'), which costs a little readability but not accuracy.

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 destructive, multi-provider mutation with no output schema, the definition covers setup order, manifest ownership rules, runtime requirements (accounts service and devices registered after sign-in), activation timing, and the verification tools to use afterward. Nothing an agent needs before calling is missing.

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 field-level meaning for `application`, `environment`, `fcm` and `apns` is already carried by the schema. The description adds context for the secret-name parameters ('this call checks its name, never its value') and the null-to-remove semantics are already documented per-property, so it does not substantially exceed the schema.

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 opening sentence names a specific verb pair (configure or remove), the exact resources (Apple and Google push providers), and the scope (one environment). It is immediately distinguishable from `tzcloud_store_secret`, which stores credentials, and `tzcloud_submit_manifest`, which configures manifest-declared providers across all environments.

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 gives an explicit prerequisite (store each credential first with `tzcloud_store_secret`), an explicit alternative path (declare providers in the manifest and only Apple's gateway needs this call), and an explicit refusal condition (`manifest_owned_field` for manifest-provided config). When-to-use versus when-not-to-use is fully spelled out.

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