Skip to main content
Glama

Start Streamlit

start_streamlit

Launch the Streamlit dashboard server in the background so users can view their generated dashboard in a browser, with automatic refresh when the UI config file changes.

Instructions

Start the Streamlit dashboard server in the background.

Launches the Streamlit app so the user can view the dashboard in their browser. The server auto-refreshes every 3 seconds when ui_config.json changes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_streamlit"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNoPort number for the server (default: 8501).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add useful behavior: the server runs in the background and auto-refreshes every 3 seconds on ui_config.json changes. It omits important operational traits such as whether the call is idempotent, what happens on port conflict, and whether the server keeps running after the session ends.

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?

Short and front-loaded with the action, followed by the user-facing purpose and a behavioral note. The second sentence ('Launches the Streamlit app...') partially restates the first, but the extra sentences still carry information.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, for a background server-start tool, the description leaves gaps an agent needs: idempotency, conflict handling, and how to confirm success via check_streamlit_status. Adequate but incomplete for the tool's complexity.

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

Parameters3/5

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

Schema description coverage is 100% for the single port parameter with a documented default of 8501, so the schema already does the work. The description adds nothing about port behavior (conflicts, binding, reachability), so it cannot exceed the baseline for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: starts the Streamlit dashboard server, in the background. The agent knows exactly what action is performed. It does not explicitly differentiate itself from siblings like check_streamlit_status or stop_streamlit, though the names make the distinction fairly obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage ('so the user can view the dashboard in their browser'), which is a clear context cue but not an explicit when-to-use rule. It never says what to do if a server is already running, nor does it point to check_streamlit_status as a precondition or stop_streamlit as the counterpart.

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