Skip to main content
Glama

Get bridge logs and cook errors

get_bridge_logs
Read-only

Collect recent cook errors and warnings from a running TouchDesigner project to debug script or cook failures. Surfaces the real Python traceback or operator cook errors without requiring a new REST endpoint.

Instructions

Read-only: collect recent cook errors and warnings from the running TouchDesigner project for debugging. Walks the operator tree under scope and gathers each operator's current cook errors and warnings (guaranteed). Also attempts a best-effort probe of textport/log DATs if they exist in the project. Use this when a script or cook fails and you need more context than the immediate error string — it surfaces the real Python traceback or operator cook errors without requiring a new REST endpoint. Returns {lines[], count, probe} where probe reports which log sources were reachable in this TD build.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoNetwork path to collect cook errors/warnings from (default whole project). Must be an existing operator path./
max_linesNoCap how many log lines to return (1–500).
include_cook_errorsNoInclude current operator cook errors/warnings across the scope.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYesThe network path that was scanned, echoing the request.
linesYesCollected log lines, newest-first within each source.
countYesTotal number of lines returned (after capping at max_lines).
probeNoDiagnostic info about which log sources were reachable in this TD build (cook_errors always present; textport availability varies by build).
warningsYesNon-fatal issues during collection (e.g. truncation notes).
Behavior5/5

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

The description fully discloses behavior: guarantees to gather operator errors/warnings, best-effort probe of textport/log DATs, and returns a structured object with probe explanation. This adds value beyond the readOnlyHint annotation and describes exactly what happens.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences, front-loaded with purpose, and every sentence adds value: purpose, mechanism, use case, return format. No wasted words.

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?

Given the tool's complexity (3 optional params, output schema present, annotations provided), the description covers overall behavior, return structure, and use case. Complete for an agent's needs.

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 100% and the description does not add extra meaning beyond the parameter descriptions in the schema. It mentions scope's default and constraint but that is already in the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Read-only: collect recent cook errors and warnings' with specific verb and resource. It distinguishes from sibling tools like get_td_node_errors by mentioning it provides more context and uses a different mechanism (walking operator tree and probing logs).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Use this when a script or cook fails and you need more context than the immediate error string' and contrasts with needing a new endpoint. It provides clear when-to-use context but does not explicitly state when not to use or alternatives like get_td_node_errors.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server