Skip to main content
Glama
RunWhen Platform MCP

RunWhen Platform MCP

Get Workspace Issues

get_workspace_issues

Retrieve current infrastructure issues for a workspace as structured JSON, with filters for severity, result limit, and start time, for programmatic processing by coding agents.

Instructions

Get current issues for a workspace (structured JSON).

Issues represent detected problems in your infrastructure that RunWhen has identified through automated health checks.

NOTE: For questions like "issues related to neo4j" or "what's failing in namespace X", prefer workspace_chat — its search and filtering produce materially better results. Use this tool only when you need raw JSON for programmatic processing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_name": "<workspace_name>"
    },
    "name": "get_workspace_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax issues to return.
sinceNoISO 8601 lower bound for latest occurrence (e.g. '2026-03-29T14:00:00Z').
severityNoFilter: 1=critical, 2=high, 3=medium, 4=low.
workspace_nameYesThe workspace to query (e.g. 't-oncall').

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It adds useful context (what issues are, that results reflect currently detected problems, JSON output), but says nothing about read-only semantics, pagination or ordering, or how the default limit of 20 truncates results — all relevant for a list tool with no annotation coverage.

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?

The direct answer (get current issues as structured JSON) is front-loaded, followed by a short definition and the routing note. The definitional sentence earns its place, though the multi-line formatting adds line breaks that a single tighter paragraph would avoid.

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

Completeness4/5

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

An output schema exists and all four parameters are documented, so the description need not explain return shapes. The routing guidance and domain framing make it callable with confidence; only the truncation/ordering behavior of a limited list is left unstated.

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%, with limit, since, severity, and workspace_name each documented in the schema including the severity enum mapping. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 and resource (get current issues for a workspace) and adds domain meaning by defining what an issue is: a problem detected by RunWhen's automated health checks. It also distinguishes itself from workspace_chat, so an agent can tell the two apart without opening either 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?

Gives an explicit when-to-use rule: for natural-language questions like 'issues related to neo4j' or 'what's failing in namespace X', prefer workspace_chat. It also supplies the complementary exclusion ('use this tool only when you need raw JSON for programmatic processing'), which is exactly the routing decision an agent must make.

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