Skip to main content
Glama
ssh-sftp-mcp

ssh-sftp-mcp

by endjoker

diagnostics_recent

Read-onlyIdempotent

Review recent redacted diagnostic events from the process to troubleshoot SSH/SFTP activity, optionally filtering by transfer ID.

Instructions

Shows recent redacted diagnostic events in this process, optionally filtered by transferId.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
transferIdNo

Output Schema

NameRequiredDescriptionDefault
eventsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/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 covered. The description still adds genuinely useful non-obvious context: events are "redacted" (no raw secrets/PII) and scoped to "this process" (local, not remote), which tells the agent what it will and won't see. It omits retention window and volume characteristics of "recent".

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 sentence, front-loaded with the resource and scope, with zero filler. Nothing redundant or repeated from structured fields.

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?

With a rich annotation set and an output schema present, the description doesn't need to explain return values, and it adequately frames what kind of data is returned. However, for a two-parameter tool with no schema documentation it leaves the limit parameter and the meaning of "recent" undefined, so an agent cannot fully predict the result set size.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it only gestures at transferId as an optional filter and says nothing about its format or what happens when it matches nothing. The limit parameter, with its default of 25 and maximum of 100, is not mentioned at all, leaving its paging/truncation behavior unexplained.

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 ("Shows recent redacted diagnostic events") plus a scope qualifier ("in this process"), which clearly separates it from the sftp_*/ssh_* operation tools. It stops short of naming or contrasting any sibling explicitly, so an agent must infer that this is the troubleshooting feed rather than a transfer-status lookup.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance beyond the implied diagnostic framing; the description never says to prefer this over sftp_transfer_status when investigating a specific transfer failure. The phrase "optionally filtered by transferId" hints at a per-transfer debugging use case but does not state it as guidance.

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