← Back to Tutorials
Troubleshooting · 4 min

Tool Works in DM but Fails in Server?

If a tool works in dashboard or DM but suddenly fails in a server channel, this is usually a context + permission mismatch—not a broken model.

Fast reality check

Same agent identity does not mean same runtime context. DM and server threads can have different:

2-minute diagnosis flow

  1. Prove the exact error text.
    Prompt: Run the same tool call and paste the exact error text, no summary.
  2. Run a tiny canary in both places.
    Use a minimal test task (like one-line file write or one search query) in DM and then in the server thread.
  3. Check destination context.
    Prompt: State current session/thread context and active policy limits before retrying.
  4. Retest in a fresh thread.
    Start a new clean thread and rerun only the canary task.

If DM succeeds and server fails on the same canary, you’ve isolated a channel/session policy issue.

High-friction mistakes

Copy/paste recovery prompt

Before doing any work, show current context (surface + thread/session) and any tool/policy limits. Then run this canary task exactly once and return raw output only: create file canary-tool-context.txt with one line "tool context canary" and confirm absolute path. If blocked, return exact error text and where it was blocked.

When to escalate to #help

Escalate with this packet:

Without side-by-side canary proof, support has to guess between policy, permissions, and runtime state.