Skip to main content
Glama

Calls for help from the 3D view

doctor_calls

Fetches open doctor calls for a cluster and its unhealthy pods, with each pod's problem, restarts, last exit, manager, fix location, and whether you may act.

Instructions

Somebody walking through a cluster in the portal's 3D view has asked for a doctor. Returns each open call (the cluster, the pod it is about when there is one, who asked) and that cluster's unhealthy pods: their problem, restarts, how their last run ended, who manages them and where a cure belongs (fix_in). It also says whether YOU may change anything, and when not, which gate is shut. Pass cluster to visit one nobody has called from. said_to_you is what people in the view have typed to you, and conversation is what was said lately on both sides, so you carry it on rather than start over. A call made by speaking carries the line that made it (said): answer that first. portal_answers: true means this portal sends a doctor of its own to this person's calls: leave the open calls to it, unless the person asks you directly.

A visit is a conversation the person watches, pod by pod, each line sent with doctor_note: walk up (arrived); ASK the pod what is wrong (asking); read its log and description with the read tools; give the pod's ANSWER in its own voice (voice: pod); say what you found (examining) and what would cure it.

Where the cure goes depends on who manages the pod. fix_in: git means a GitOps tool keeps it: change its settings in Git with the config tools, because a change made in the cluster is put back. fix_in: cluster means the cluster actions (restart, scale, undo), on a cluster that allows management. A CALL IS A REQUEST FOR HELP, NOT AGREEMENT TO A PARTICULAR CHANGE: before anything that changes a cluster or a repository, say exactly what you intend and get the person's agreement, as for every other changing tool. When you may not change anything, say which gate is shut so the person can open it. Report treating while you act, then healed only once the cluster itself shows the pod healthy, or failed.

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": "doctor_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
clusterNoa cluster's id or name, to visit it without waiting for a call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses returned fields, permission gating, portal behavior, fix_in routing, agreement-before-change, and treating/healed/failed status rules. It does not explicitly state whether doctor_calls itself has side effects or consumes/acknowledges calls, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is relevant and organized into paragraphs, but it is long and narrative rather than front-loaded; the first sentence is scene-setting before the return contract. The workflow and safety details earn space, but many clauses could be tightened.

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?

For a complex, annotation-free tool with no output schema, the description explains return contents, permission gates, conversation context, portal delegation, fix routing, and status reporting. It is nearly complete, though it leaves the exact response shape and any call-acknowledgment behavior implicit.

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?

The sole parameter is fully described in the schema as an id/name to visit without waiting for a call. The description's 'visit one nobody has called from' is essentially the same meaning, so it adds little beyond the schema baseline.

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?

The description states a specific return: each open call with cluster, pod, requester, and the cluster's unhealthy pods with problem, restarts, manager, and fix_in. It also names doctor_note and config/cluster actions as other paths, so an agent can distinguish this notification/read tool from the tools that make changes.

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?

It gives explicit when-to-use conditions (someone has asked; pass cluster to visit an uncalled cluster) and when-not guidance (when portal_answers is true, leave open calls to the portal unless asked directly). It also names alternatives for lines (doctor_note), logs (read tools), Git fixes (config tools), and cluster actions.

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