Skip to main content
Glama

List a trace's tables

trace_tables
Read-only

Lists data tables from a GPU trace recording, falling back to stored tables when the .trace file was not kept.

Instructions

Lists the data tables of a recording: those of its .trace when kept, else those its tables file stored.

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": {
      "trace": "<trace>"
    },
    "name": "trace_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
traceYesa run name from perf_runs with trace_kept or tables_kept true, or a .trace path
fieldsNoresult paths to keep, dotted: common.frame_pacing

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.28.0
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "result paths to keep, dotted: common.frame_pacing",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / trace / description
      Previous value: -"a run name from perf_runs whose trace_kept is true, or the path of a .trace"New value: +"a run name from perf_runs with trace_kept or tables_kept true, or a .trace path"
  2. Changed1 schema field changedv0.10.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.7.1
    • addedInput schema / properties / trace / description
      Added value: +"a run name from perf_runs whose trace_kept is true, or the path of a .trace"
  4. 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 cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real context by explaining which artifact the tables are read from depending on what was kept. It says nothing about behavior when neither a .trace nor a tables file exists, nor about failure modes, which is the main remaining gap.

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 wasted preamble. The clause 'else those its tables file stored' is grammatically awkward and slightly slows comprehension, which keeps it from a 5.

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 explained, and both parameters are documented. For a two-parameter listing tool the definition is adequate but leaves the neither-artifact-present case and the relationship to sibling tools unaddressed.

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 description coverage is 100%, so both the `trace` identifier and the dotted `fields` projection are fully documented in the schema. The description adds no additional meaning for either parameter, which is the expected baseline when the schema does the work.

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?

The description gives a specific verb and resource ('Lists the data tables of a recording') and adds the source-resolution detail (.trace when kept, else the stored tables file). It does not explicitly contrast with siblings such as trace_query or trace_count, so an agent must infer the boundary between listing table names and querying table data.

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 statement of when to choose this tool over trace_query, trace_count, or perf_export_trace, and no mention of preconditions beyond the implicit 'the recording must have a trace or tables file'. Usage is only faintly implied by the object being listed.

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