Skip to main content
Glama

Generate Web Push keys

push_generate_keys

Generate VAPID keys for Web Push, returning the public key needed for push subscriptions while keeping the private key on this machine.

Instructions

Generate (or return existing) VAPID keys for Web Push. Returns the public key to use with pushManager.subscribe() in the app's frontend; the private key never leaves this machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It adds useful behavioral context: the operation may return existing keys or generate new ones, and it explicitly states the private key never leaves the machine. However, it does not disclose potential side effects (e.g., whether it overwrites existing keys) or error conditions, leaving some gaps.

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?

Two sentences with no filler. It front-loads the purpose, states the output, and includes the security constraint. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is incomplete for a one-parameter tool. It lacks explanation of the 'app' parameter, any prerequisites (e.g., does the app need to exist?), and does not describe the return format beyond the public key. Given no output schema and no annotations, the description should provide more context but does not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage and the description does not mention the 'app' parameter at all. An agent calling this tool would not know what value to supply for 'app' (e.g., an app identifier, name, or path). The description fails to compensate for the missing schema documentation.

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 clearly states the specific verb (generate or return) and resource (VAPID keys for Web Push), and it distinguishes itself from the sibling push_send by focusing on key generation rather than sending notifications. It also clarifies the output (public key) and a key constraint (private key stays local).

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?

The description implies the use case: when you need VAPID keys for Web Push. However, it does not explicitly mention alternatives or when-not-to-use. Since push_send is clearly about sending, the context is clear, but no exclusions or alternative routing are stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sandeepbhuiya29/Slipway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server