Model Context Protocol server for OneSignal push notification platform integration
14 tools with partial schema coverage and mixed description quality. Tool naming follows verb_noun convention (send_notification, get_subscriber, delete_segment) which is appropriate. However, critical gaps emerge: (1) Output schemas are completely undocumented, no response structure visible for any tool, forcing LLMs to guess field names and types; (2) Parameter descriptions exist but are inconsistent in depth and actionability; (3) No enums declared for constrained inputs (e.g., ios_badgeType, segment filters); (4) Error handling and recovery guidance absent, tools like cancel_notification and delete_segment provide no recovery paths if the operation fails or is not retryable. The server manages state via global variables (current_app_key, app_configs) which is fragile for distributed agents. Parameter descriptions range from adequate ('Notification title/heading') to vague ('App configuration key to use'). No pagination guidance on list_apps, get_subscribers, get_segments despite potential for large result sets. The 'app_key' optional parameter pattern is repeated across 10+ tools but is poorly documented, unclear whether it conflicts with the global current_app_key or supplements it. send_notification accepts 'data' as generic object without schema constraints. Tools like add_app_config accept app_id and api_key as strings with no validation hints. Overall, the server reads as 'functional but not agent-optimized', it works for direct API calls but forces LLMs to infer structure, retry blindly on errors, and reason through state conflicts.
Add a new OneSignal app configuration to the available apps
Cancel a scheduled notification that has not yet been sent
Create a new segment in the current app
Delete a segment from the current app
Retrieve detailed information about a specific app
Get the currently active OneSignal app configuration
Retrieve details of a specific notification by ID
Output schemas completely undocumented. No tool declares what fields it returns (e.g., send_notification returns notification_id? status? timestamp?). LLMs cannot chain tools or extract required fields for follow-up calls.
Constrained inputs declared as free-form strings instead of enums. 'ios_badgeType' accepts arbitrary strings; should declare valid enum values (e.g., increase, set). Segment 'filters' parameter lacks schema, LLM must guess structure.
No error recovery guidance. Tools like cancel_notification, delete_segment are destructive but provide no indication whether errors are retryable or what to do if a call fails. Errors are implicit ('did it work?').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 44 | <=2025-11-25 | v2 |
Retrieve list of segments for the current app
Retrieve details for a specific subscriber/user by ID
Retrieve list of subscribers/users for the current app
List all configured OneSignal applications
Send a notification to specified recipients via OneSignal
Switch the current OneSignal app context for subsequent API calls
Update settings for a specific OneSignal app
Pagination not implemented on list tools. get_subscribers, get_segments, list_apps lack limit/offset semantics or cursors. Large datasets risk context window exhaustion and no guidance on max result sizes.
Ambiguous parameter: 'app_key' is optional on 10+ tools but global state 'current_app_key' also exists. Unclear whether both can coexist, whether app_key overrides current_app_key, or what happens if neither is set. Documentation says 'uses current app if not specified' but this is fragile for concurrent agents.
Generic object parameters without schema. 'send_notification' accepts 'data' (object) for custom metadata with no constraints or example structure. LLM cannot infer valid keys/values.
No input validation hints. Parameters like app_id, api_key, notification_id lack format descriptions (length, character set, pattern). LLM may pass malformed IDs that fail at runtime.
Credentials exposed as optional parameters. 'add_app_config' accepts app_id and api_key as tool parameters. Per pattern:secret-injection, secrets must never be tool parameters, they should be server-side injected via environment. This risks logging credentials.