/gr:traces [errors|slow|<trace-id>|feedback <trace-id> <score>]from gr
Queries, debugs, and evaluates MLflow traces from Gemini tool calls. Supports filtering by errors, slow traces, trace ID lookup, and logging human feedback scores.
Ships in gr. Installing the plugin adds it to Claude Code.
Query and debug MLflow traces captured from video-research-mcp Gemini API calls.
The MLflow tracking server must be running. If tools are unavailable or connection is refused:
MLFLOW_TRACKING_URI=http://127.0.0.1:5001 mlflow server --port 5001
Then restart Claude Code to reconnect the mlflow-mcp MCP server.
Use the configured experiment name (video-research-mcp by default). Resolve its ID through an available experiment lookup or the operator; search_traces requires the ID. Do not assume experiment 0.
extract_fields — never pull full traces. Gemini traces contain large payloads (video URIs, cached content, full prompts/responses).$ARGUMENTS)Show a recent traces overview:
search_traces({
experiment_id: "<resolved>",
max_results: 10,
extract_fields: "info.trace_id,info.state,info.execution_duration_ms,info.request_time,info.request_preview"
})
Present as a compact table: trace ID (short), status, duration, time, and request preview.
errorsFilter for failed traces:
search_traces({
experiment_id: "<resolved>",
filter_string: "status='ERROR'",
max_results: 20,
extract_fields: "info.trace_id,info.state,info.execution_duration_ms,info.request_time,info.request_preview"
})
slowFilter for traces over 5 seconds:
search_traces({
experiment_id: "<resolved>",
filter_string: "execution_time_ms > 5000",
max_results: 20,
extract_fields: "info.trace_id,info.execution_duration_ms,info.request_time,info.request_preview,data.spans.*.name"
})
tr- or is a hex string)Get trace detail:
get_trace({
trace_id: "<id>",
extract_fields: "info.*,data.spans.*.name,data.spans.*.status_code,data.spans.*.start_time_unix_nano,data.spans.*.end_time_unix_nano"
})
Present span tree with timing. Never request data.spans.*.attributes unqualified.
feedback <trace-id> <score>Log the supplied human feedback (score 1-5); do not invent a human assessment:
log_feedback({
trace_id: "<id>",
name: "response_quality",
value: <score>,
source_type: "human",
rationale: "Logged via /gr:traces"
})
Confirm with the trace ID and score logged.
filter_string and extract_fields use different names for the same data:
| Data | filter_string | extract_fields |
|---|---|---|
| Status | status = 'ERROR' | info.state |
| Duration | execution_time_ms > 5000 | info.execution_duration_ms |
| Timestamp | timestamp_ms > ... | info.request_time |
/gr:traces <trace-id> for detail" or "Use /gr:traces feedback <id> <score> to log feedback"What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (galbaz1/video-research-mcp) — no native marketplace selected
npx claudepluginhub p/galbaz1-gr17 commands in this plugin
/advisorWorkflow Advisor: $ARGUMENTSGet workflow advice — which /gr command best fits your task/analyzeContent Analysis: $ARGUMENTSAnalyze any content — URL, file, or pasted text/doctorDoctor: $ARGUMENTSDiagnose /gr plugin setup, active MCP wiring, and optional integrations/explainerExplainer Video: $ARGUMENTSFull explainer video workflow — setup, inject content, generate pipeline, review, render/explain-statusExplainer Status: $ARGUMENTSCheck status of explainer video projects/explain-videoExplain Video: $ARGUMENTSBridge workflow — analyze content with Gemini research tools, then synthesize an explainer videoOther plugins' commands for the same job