Skip to main content

MCP tool surface

Estimated model context cost of the MCP tool list. Tokens are estimated as characters divided by 4 over each tool’s name, description and input schema JSON. Regenerate with go test ./internal/mcptools -run TestToolSurfaceDoc -update-surface.

By toolset

Default session (progressive disclosure)

levelrail-mcp lists only a small core plus list_toolsets, enable_toolset and disable_toolset. Enabling a toolset adds its tools for the rest of the session and sends tools/list_changed; the table above is what each toolset costs. --all (or APP_MCP_ALL=1), --toolsets and --tool-profile keep the static listing for clients without list_changed support. The mode and the token’s abilities bound every call either way. 21 tools, 2036 estimated tokens (ratchet 3150, ceiling per toolset 4000).
  • cancel_deploy
  • deploy_app
  • diagnose_app_failure
  • disable_toolset
  • enable_toolset
  • get_app
  • get_app_env
  • get_app_status
  • get_attention
  • list_apps
  • list_deploys
  • list_toolsets
  • preflight_app
  • query_logs
  • rollback_app
  • search
  • set_app_domains
  • set_app_env
  • unset_app_env
  • wait_for_deploy
  • whoami

agent-core profile

Select with --tool-profile agent-core or APP_MCP_TOOL_PROFILE=agent-core. It is an allowlist independent of the read-only, standard and full modes; the API token’s abilities still apply. 15 tools, 1684 estimated tokens (cap 4000).
  • cancel_deploy
  • deploy_app
  • diagnose_app_failure
  • get_app_env
  • get_app_status
  • get_attention
  • list_apps
  • list_deploys
  • preflight_app
  • query_logs
  • rollback_app
  • set_app_domains
  • set_app_env
  • unset_app_env
  • wait_for_deploy
Last modified on November 6, 2026