Skip to main content
Glama

capture_summary

Read-only

Reads a Metal .gputrace bundle without Xcode to report command buffers, encoders, draws, debug groups, and the most frequent call IDs.

Instructions

Reads a Metal .gputrace capture without Xcode: command buffers, encoders, draws, debug groups, and the 100 most frequent call ids out of calls_total.

Input Schema

NameRequiredDescriptionDefault
captureYespath of a .gputrace bundle saved from Xcode, inside METAL_TRACE_OUT or METAL_TRACE_READ

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.7.1
    • addedInput schema / properties / capture / description
      Added value: +"path of a .gputrace bundle saved from Xcode, inside METAL_TRACE_OUT or METAL_TRACE_READ"
  3. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral trait — that only the 100 most frequent call ids are returned out of calls_total, i.e. the output is truncated — but says nothing about error behavior, cost, or how much of the trace is actually parsed.

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 front-loaded sentence with no filler; the key scope ('without Xcode') and the contents appear immediately. The trailing enumeration is dense but each item earns its place.

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?

An output schema exists, so return values need not be spelled out, and annotations cover the read-only profile; with a single fully documented parameter the definition is nearly complete. The remaining gap is sibling disambiguation against capture_records, which matters given the crowded tool list.

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?

Only one parameter and schema description coverage is 100%; the schema already explains that 'capture' is a path to a .gputrace bundle inside METAL_TRACE_OUT or METAL_TRACE_READ. The description adds nothing about the parameter beyond the resource type, so baseline 3 applies.

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?

Names a specific verb (Reads) and resource (Metal .gputrace capture) and enumerates exactly what the summary contains: command buffers, encoders, draws, debug groups, top-100 call ids. It does not, however, contrast itself with the sibling capture_records, so an agent must infer which capture-reading tool to pick.

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?

The phrase 'without Xcode' hints at the lightweight/headless use case, but there is no explicit when-to-use, no when-not-to-use, and no reference to the obvious alternative capture_records. The agent gets no routing guidance.

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