Skip to main content
Glama

samply doctor

samply_doctor
Read-onlyIdempotent

Checks whether the samply binary is available for this MCP server and reports the current execution environment, optionally validating a specific executable path.

Instructions

Check whether the samply binary is available for this MCP server and report the current execution environment.

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

Input Schema

NameRequiredDescriptionDefault
samplyPathNoOptional path to a specific samply executable.

Output Schema

NameRequiredDescriptionDefault
okYes
cwdYes
versionYes
platformYes
samplyPathYes
installHintYes
nodeVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only that it reports the execution environment; it does not say what happens when the binary is missing (error vs. negative report), which is the key behavioral question for a doctor-style tool.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the primary check is stated first and the reporting behavior second.

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 described, and annotations cover safety. However, for a diagnostic tool the description omits what a failed check looks like and whether the environment report is part of the structured output, leaving a meaningful gap for correct interpretation.

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 coverage is 100% and the single optional samplyPath parameter is fully documented in the schema. The description's mention of 'the samply binary' loosely connects to that parameter but adds no path syntax or override semantics. Baseline 3 applies when the schema does the heavy lifting.

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: checks whether the samply binary is available and reports the execution environment. This clearly separates it from the profiling siblings (record, summarize_profile, inspect_thread). The second clause, 'report the current execution environment,' is somewhat vague about what environment details are included, keeping it short of a 5.

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?

No explicit when-to-use or when-not-to-use guidance and no named alternatives. The diagnostic framing ('check whether the binary is available') implies a pre-flight/troubleshooting role relative to the profiling tools, but the agent must infer that.

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