Spanly Docs
Spanly MCP

Tools

The full surface of tools exposed by the Spanly MCP server.

The Spanly MCP server exposes the tools below. All of them resolve against projects your signed-in account can access. Time-range arguments accept the presets 5m, 30m, 1h, 3h, 1d, 7d, 30d, 90d, 180d, 365d. Anywhere a tool takes an environmentId, you can list valid values with list_environments.

Project & environment discovery

ToolPurpose
list_projectsProjects accessible to your account.
list_environmentsEnvironments (regional contexts) inside the project.

Requests

The leaf entity: one JSON-RPC request/response pair captured from your MCP server.

ToolPurpose
list_requestsFilter requests by server, client, method, status, and time range.
get_requestFetch a single request by id, including raw payload.
aggregate_requests_by_methodGroup request counts by method.

Servers & clients

ToolPurpose
list_serversServers seen in the time range, with request counts and error rates.
aggregate_serversRoll up traffic by server name/version.
client_calls_over_timeTime series of calls by client name/version. Useful for spotting client-side regressions.

Errors

ToolPurpose
list_errorsErrored requests in the time range.
aggregate_errors_by_codeCounts grouped by error code.
get_errors_by_codePull the underlying requests for one error code.

Issues

The findings shown on the Issues tab: problems detected in live traffic, plus static tool-manifest issues.

ToolPurpose
list_issuesRuntime issues detected in live traffic (open plus recently resolved).
list_static_scan_issuesIssues found by statically scanning a server's advertised tool manifest.
list_issue_checksPer-check summary: open and all-time counts, last activity, and fixability.

End users & identity

ToolPurpose
list_usersEnd users seen calling your servers, with session, request, and error counts.
get_userAggregated activity for a single end user by endUserId.
get_identity_settingsThe environment's end-user identity configuration (secrets omitted).

Dashboards

The same views that power the dashboard UI.

ToolPurpose
dashboard_statsHeadline numbers: total requests, error rate, p50/p95/p99.
dashboard_top_serversTop servers by traffic.
dashboard_top_toolsTop tools (MCP tools/call) by traffic.
dashboard_slowest_operationsThe slowest operations in the window.

Integration help

ToolPurpose
get_integration_instructionsReturns copy-paste integration instructions for the TS SDK, Python SDK, CLI, or Docker. The same content as the in-app onboarding flow.

Notification channels

Manage the channels that receive a notification when a new Issue opens. Each channel opts in with notifyOnNewIssues and gates delivery by minIssueSeverity.

ToolPurpose
list_alert_channelsList notification channels (EMAIL, SLACK, WEBHOOK, IN_APP).
create_alert_channelCreate a new channel, optionally with new-Issue notification settings.
update_alert_channelUpdate a channel's destination, auth, or new-Issue notification settings.
delete_alert_channelDelete a channel.
ToolPurpose
list_shared_linksExisting share links for the project.
create_shared_linkCreate a read-only link to a dashboard, request, or chart.
revoke_shared_linkRevoke an existing link.

Gateway

Read the configuration and health of the hosted Gateway reverse proxy that fronts your MCP server.

ToolPurpose
get_gatewayThe environment's gateway config (upstream, capture/auth modes, rules).
get_gateway_healthCurrent upstream health (up / down / unknown, last error).
list_gateway_domainsCustom domains attached to the gateway, with verification and TLS status.
list_gateway_client_keysClient auth keys issued for the gateway (key values omitted).

Patches (Mend)

Inspect and drive Mend: manifest patches, A/B canaries, and the shims (applied patches) they promote to.

ToolPurpose
mend_server_manifestsLive tool manifests per server (author custom patches against real tools).
mend_list_patchesManifest patches for the environment, optionally filtered by status.
mend_create_custom_patchAuthor a hand-written manifest patch (rename/hide tools, rewrite copy).
mend_apply_patchApply a patch to every session immediately, skipping the canary.
mend_launch_canaryLaunch an A/B canary for a proposed patch.
mend_list_canariesCanaries for the environment (running and concluded).
mend_get_canaryFull detail for one canary: patch, per-arm metrics, gate board.
mend_stop_canaryStop a running canary and roll back to the original manifest.
mend_promote_canaryPromote a winning canary so its patch applies to every session.
mend_list_shimsApplied patches (shims), including those awaiting an upstream patch.
mend_activityRecent Mend activity: proposals, canary launches, shim installs.

Conventions

  • Read-only by default: every tool documents whether it mutates state. Write tools act with your account's permissions.
  • No pagination cursor surprises: listing tools take a plain limit rather than opaque cursors, so an agent can plan multi-step scans deterministically.
  • Explicit ids: create_* tools return the new entity's id; get_*, update_*, and delete_* tools take it as an argument.

On this page