Skip to content

Error response shape

Tool handlers commonly return:

  • isError: true
  • text content with an actionable message

Frequent error classes

ErrorTypical causeTypical remediation
Write tools are disabled...Write gate not enabledSet TEAMDYNAMIX_ENABLE_WRITE_TOOLS=true
Admin tools are disabled...Admin gate not enabledSet TEAMDYNAMIX_ENABLE_ADMIN_TOOLS=true
401 UnauthorizedInvalid credentials for selected auth modeVerify mode + env vars
404 Not FoundWrong app_id or object IDResolve IDs using list/search tools
429 Too Many RequestsAPI rate limitAllow auto-retry; reduce request burst
Missing confirm validationDestructive tool called without confirmationAdd confirm: true

Defensive pattern

Before mutating calls:

  1. Resolve IDs from read-only tools
  2. Validate write flags
  3. Use minimal input payload
  4. Confirm destructive intent explicitly

Released under the MIT License.