The audit log records every tool call that hits your project. It’s the same surface across draft and production, across MCP hosts and Assistant SDK clients — one stream, one schema, one place to look when something is off.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
What gets logged
For every tool call, the platform records aToolExecution:
| Field | Description |
|---|---|
timestamp | When the call started |
durationMs | How long it took end-to-end |
toolName / toolType | Which Type was called and whether it’s an Interactive or Data Tool |
status | success or failure |
errorType | One of configuration, runtime, or tool (when status: failure) |
errorCode | Specific error code, drawn from a fixed taxonomy |
inputSha256 / outputSha256 | Content-addressed hashes of input and output payloads |
host | Where the call came from (Claude Desktop, ChatGPT, Assistant SDK, custom client) |
caller | The user or organization on the calling side, if known |
package_version | Which published version of the package served the call |
handler_logs | console.log / console.warn / console.error output from the handler (Data Tools) |
Tool-call analytics surfaces in MCP App Studio are in active development. Data Tool execution records are captured today; Interactive Tool parity, the project-wide audit surface, and per-tool aggregates (call count, success/failure counts, p95 latency) ship by the time the project is publicly available.
Where to view it
In MCP App Studio:- Open the project.
- Click Audit Log in the project sidebar.
- The log shows the most recent calls; filter by tool, host, time range, or status.
Screenshot needed: Audit log view in MCP App Studio with several rows visible — including a successful call, a schema-rejected call, and a handler error. Place at
/images/operations/audit-log-overview.png.Drilling into a single call
Click a row to see:- The full input the AI provided.
- The full output the tool returned (or the error).
- All
console.logoutput from the handler, in order. - The package version that served the call.
- The conversation context, if the host provided it (e.g., the conversation ID).
Screenshot needed: Audit log row expanded with full input, output, and handler log captured. Place at
/images/operations/audit-log-detail.png.Filtering and search
The log filters by:- Time range. Last hour, last day, last 30 days, custom.
- Tool name. Show only calls to
product_search. - Status. Successful, schema rejection, handler error, allowlist rejection, timeout.
- Host. Calls from Claude Desktop, calls from a specific Assistant SDK deployment.
- Free text. Search across input and output for a specific string.
Console output capture
Inside a Data Tool handler,console.log, console.warn, and console.error are captured per call:
Retention
| Plan | Audit log retention |
|---|---|
| Free | 7 days |
| Pro | 30 days |
| Enterprise | 90 days, configurable |
Schema rejections
When a schema validation fails, the log captures:- The input that was rejected.
- The specific validation error path.
- The expected schema for context.
Allowlist rejections
When a component reference fails the allowlist check, the log captures:- The disallowed component name.
- The slot it was attempted in.
- The current allowlist for that slot.
description so the AI doesn’t try the disallowed component.
Handler errors
Handler failures log:- The error message.
- The stack trace.
- All
console.logoutput up to the error. - The handler’s runtime (execution time before failure, memory used).
Tool-call reporting
A “tool-call report” rolls per-execution records up into aggregates over a window:callCountper toolsuccessCountandfailureCountper toolavgDurationMsandp95DurationMsper tool- Top error codes per tool (broken down by
configuration,runtime,tool)
GET .../usage/tools on the REST API; MCP App Studio surfaces the same data on a project-level Tool executions view with per-tool drill-down and CSV export.
Screenshot needed: Project-level Tool executions view in MCP App Studio with per-tool aggregates over a 7-day window and CSV export visible. Place at
/images/operations/reports.png.Compliance and export
For projects in regulated industries:- Audit log export. Pull the full log via REST API and store in your own SOC 2 / HIPAA / etc. compliant archive.
- Retention extensions. Enterprise plans support longer retention windows.
- Field redaction. Sensitive fields can be redacted before logging — configure per Type if needed.
Related
Schema validation
Validation errors that show up in the audit log.
Sandboxed execution
What the handler logs capture.
REST API
Programmatic access to the audit log.
Team management
Who can view audit logs.