Skip to main content
Glama

analyze_spark_profile

Parse a Spark profiler URL or local JSON file to inspect Minecraft performance data from profiler results.

Instructions

Parse a Spark profiler URL (https://spark.lucko.me/) or local JSON file.

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": {
      "spark_url_or_file": "<spark_url_or_file>"
    },
    "name": "analyze_spark_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
spark_url_or_fileYes

Output Schema

NameRequiredDescriptionDefault
tps_avgYes
mspt_p95Yes
top_modsNo
top_tick_consumersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never says whether the URL form performs a network fetch, whether the local-file form requires a path readable by the server, whether the source is read-only, or that the result is a performance analysis rather than a raw parse — all material for a tool that ingests external data.

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?

A single compact sentence with the accepted input forms front-loaded and no filler. It is arguably too terse rather than too long, but nothing in the sentence is wasted.

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?

The output schema covers the return shape so the description need not explain results, and the input contract is stated. Still, for a tool that ingests an external URL or file, the absence of any note on fetching behavior, permissions, or failure modes leaves a meaningful gap.

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 0% for the single required parameter, so the description must compensate. It does add real meaning by showing the URL shape (https://spark.lucko.me/<id>) and by clarifying that a local JSON file is an accepted alternative to a URL, but it gives no guidance on path format, relative vs absolute, or expected file contents.

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?

Uses a specific verb ("Parse") plus a specific resource ("Spark profiler URL or local JSON file") and even gives the URL template, so an agent knows exactly what it consumes. It does not name a sibling or state how it differs from analyze_crash_log, but the resource type is distinctive enough to disambiguate.

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: the agent can infer this is the tool for Spark profile data because of the domain-specific URL, but there is no explicit when-to-use statement, no when-not-to-use, and no mention of alternatives for other artifact types.

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