Skip to main content
Glama
runwhen-contrib

RunWhen Platform MCP

Workspace Chat

workspace_chat

Investigate infrastructure, issues, and run sessions by asking the RunWhen AI assistant; it searches and correlates workspace data into reports, diagrams, and tables.

Instructions

Ask the RunWhen AI assistant about your infrastructure.

This is the PRIMARY tool for investigating infrastructure. It sends your message to the RunWhen workspace AI agent, which searches (keyword, semantic, and fuzzy), navigates and correlates across resources, SLXs, issues, run sessions, and the knowledge base, and returns rich markdown reports, diagrams, and tables.

PREFER THIS TOOL over direct read/query tools (get_workspace_issues, get_workspace_slxs, search_workspace, etc.) for any question that involves searching by topic, keyword, or context — e.g. "issues related to neo4j", "what's failing in namespace X?", "health of the watcher cluster". workspace_chat produces materially better answers because it can search, filter, and correlate across all workspace data internally.

Use direct tools instead ONLY for: executing tasks (run_slx), task authoring, registry operations, chat config CRUD, KB mutations, or when you specifically need raw structured JSON for programmatic processing.

Returns: JSON with message, sessionId, widgets, chatUrl (full browser URL to continue this session in the RunWhen UI — run tasks, review history), and chatExportLink (shareable chat-export path when available).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesYour question or request about the workspace infrastructure.
session_idNoOptional session ID to continue a previous conversation.
persona_nameNoAI persona to use (default: 'default').default
workspace_nameYesThe workspace to query (e.g. 't-oncall').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 disclose meaningful behavior: it searches by keyword/semantic/fuzzy, correlates across resources/SLXs/issues/sessions/KB, and returns markdown reports, diagrams and tables. It does not cover permissions, auth requirements, rate limits, or latency, which are the remaining behavioral gaps for a chat/agent tool.

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 the core purpose and routing guidance, then cleanly sectioned with a 'Returns:' block. It is somewhat long, and the return-value enumeration is largely redundant since an output schema exists, which slightly undercuts economy.

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 complex AI-assisted query tool, the description covers purpose, routing against numerous siblings, internal behavior, and usage conditions. Since a full output schema is present, the extra return-value prose is redundant but harmless, and nothing an agent needs to invoke it correctly is missing.

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%, so message, session_id, persona_name, and workspace_name are already documented in the schema. The description adds essentially nothing to parameter meaning (e.g., it does not explain session continuation semantics beyond what the schema says), so the baseline 3 is appropriate.

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+resource ('Ask the RunWhen AI assistant about your infrastructure') and elaborates on the internal search/correlation behavior. It explicitly distinguishes itself from siblings by naming get_workspace_issues, get_workspace_slxs, search_workspace, and run_slx, so an agent can route correctly without opening any 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?

Provides explicit when-to-use ('any question that involves searching by topic, keyword, or context') with concrete examples, plus a when-NOT-to-use list ('executing tasks, task authoring, registry operations, chat config CRUD, KB mutations, or raw structured JSON'). It also names the alternative tools to use instead, leaving nothing to inference.

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