Skip to main content
Glama

ynab_diagnostic_info

Read-onlyIdempotent

Retrieve health, cache, delta, security, memory, and environment diagnostics for the YNAB MCP server to troubleshoot performance or configuration issues.

Instructions

Get comprehensive diagnostic information about the MCP server (health, cache, delta, security).

Args:

  • include_memory (boolean, optional): Include memory usage. Default: true.

  • include_environment (boolean, optional): Include env info. Default: true.

  • include_server (boolean, optional): Include server info. Default: true.

  • include_security (boolean, optional): Include security stats. Default: true.

  • include_cache (boolean, optional): Include cache metrics. Default: true.

  • include_delta (boolean, optional): Include delta cache info. Default: true.

  • response_format (string, optional): "json" or "markdown" (default: "markdown").

Returns: diagnostics object with requested sections.

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

Input Schema

NameRequiredDescriptionDefault
include_cacheNo
include_deltaNo
include_memoryNo
include_serverNo
response_formatNomarkdown
include_securityNo
include_environmentNo

Output Schema

NameRequiredDescriptionDefault
cacheNo
deltaNo
memoryNo
serverNo
timestampYes
environmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.35.0
    • removedOutput schema / properties / cache / properties / lastCleanup
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Changed5 schema fields changedv0.33.0
    • removedOutput schema / properties / delta / properties / enabled
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / delta / properties / feature_flag
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / delta / required
      Previous value: -[
      -  "enabled",
      -  "knowledge_entries",
      -  "knowledge_stats",
      -  "feature_flag",
      -  "delta_hits",
      -  "delta_misses",
      -  "delta_hit_rate",
      -  "merge_operations",
      -  "knowledge_gap_events"
      -]New value: +[
      +  "knowledge_entries",
      +  "knowledge_stats",
      +  "delta_hits",
      +  "delta_misses",
      +  "delta_hit_rate",
      +  "merge_operations",
      +  "knowledge_gap_events"
      +]
    • removedOutput schema / properties / server / properties / env
      Removed value: -{
      -  "additionalProperties": {},
      -  "propertyNames": {
      -    "type": "string"
      -  },
      -  "type": "object"
      -}
    • changedOutput schema / properties / server / required
      Previous value: -[
      -  "name",
      -  "version",
      -  "node_version",
      -  "platform",
      -  "arch",
      -  "pid",
      -  "uptime_ms",
      -  "uptime_readable",
      -  "env"
      -]New value: +[
      +  "name",
      +  "version",
      +  "node_version",
      +  "platform",
      +  "arch",
      +  "pid",
      +  "uptime_ms",
      +  "uptime_readable"
      +]
  3. Changed4 schema fields changedv0.29.1
    • removedOutput schema / properties / cache / properties / lastCleanup / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / cache / properties / lastCleanup / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / environment / properties / token_preview / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / environment / properties / token_preview / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Addedv0.26.9

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful section-level detail and notes that only requested sections are returned, but omits whether environment data is sensitive, whether the call is expensive, or any auth requirements.

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 purpose sentence, then a scannable Args block, then a one-line Returns. Each entry earns its place, though 'Include memory usage' and similar lines mostly restate the parameter name and could be trimmed.

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 zero-required-param diagnostic tool with an output schema already defining the return shape, this description is sufficient: it names every section, every toggle with its default, the output format, and confirms the response is limited to requested sections.

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

Parameters4/5

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

Schema coverage is 0%, so the description carries the full burden and does so: all seven parameters are documented with types and defaults, and response_format's enum values are restated. It doesn't explain what 'delta cache info' or 'security stats' actually contain, which is the only remaining ambiguity.

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: 'Get comprehensive diagnostic information about the MCP server,' and enumerates the domains (health, cache, delta, security). It is clearly distinct from the budget-data siblings such as ynab_get_budget or ynab_list_transactions, though it never explicitly says 'server internals, not YNAB data.'

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?

Usage is only implied by the word 'diagnostic' - an agent can infer troubleshooting scenarios, but there is no explicit when-to-use, when-not-to-use, or named alternative. Since all siblings operate on budget data rather than server state, the risk of mis-selection is low, but the guidance is left to inference.

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