Skip to main content
Glama

preview_push

Step 1 of sending a push notification: validate a draft and show who it will reach. Read-only, nothing is sent. Draft only what the owner asked for. Fields: title (max 65), message (max 240), optional imageUrl (https), pageId (page to open; send-now only), deviceTypes [ios, android, web], topicIds (send-now only; call with no title to list topics), locationFilters {countries, cities, regions}, sendAt local "YYYY-MM-DDTHH:MM" to schedule (omit to send now), timezone (IANA; defaults to the app's), repeat none/daily/weekly/monthly, repeatUntil YYYY-MM-DD. Show the owner the returned preview and get a clear yes before send_push.

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": {
      "appId": "<appId>"
    },
    "name": "preview_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
titleNo
pageIdNo
repeatNo
sendAtNo
messageNo
imageUrlNo
timezoneNo
topicIdsNo
deviceTypesNo
repeatUntilNo
locationFiltersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so for the safety profile: 'Read-only, nothing is sent,' and it tells the agent the call returns a preview of who will be reached. It does not say whether an unsent draft is persisted server-side or what errors occur on invalid fields, which is why it is not a 5.

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-loaded with purpose and safety before the dense field list; nearly every clause carries a constraint an agent could not infer. The field enumeration is a single run-on sentence, which is heavy but information-dense rather than padded.

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 12-parameter, nested-object, no-annotation, no-output-schema tool, the definition covers purpose, workflow placement, per-field constraints, what the response conveys (audience reach), and the required follow-up action. What remains unspecified — exact return shape, appId — is minor relative to the complexity covered.

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 0% and there are 12 parameters including a nested object, so the description must compensate — and it largely does: length caps (65/240), https requirement, the ios/android/web value set, the repeat values, sendAt/timezone/repeatUntil formats, locationFilters sub-keys, and send-now-only scoping for pageId and topicIds. The required appId is never mentioned and the element types inside locationFilters are only implied, leaving a real gap.

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 — validate a draft and show its reach — and frames it as 'Step 1 of sending a push notification,' which cleanly separates it from send_push. An agent can distinguish it from every sibling 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly positions the tool in a workflow (step 1, then send_push after a clear owner yes), states the read-only/nothing-sent condition, and even documents an alternate invocation ('call with no title to list topics'). When-to-use and the successor tool are both named.

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