Skip to main content
When an agent doesn’t see the tools you expect, or a tool call fails silently, MCP Inspector and MCP Logs cover most cases:
  • MCP Inspector connects to your Refold MCP server before you wire it into an agent, lists its tools, and lets you call them with any input.
  • MCP Logs is the audit panel in the Refold dashboard. It shows every tool call your agent made, the exact input it sent, and what came back.
Use MCP Inspector to verify the server is healthy. Use MCP Logs to trace what the agent actually did once it’s running.

MCP Inspector

[MCP Inspector is the Model Context Protocol project’s open-source debugger for any MCP server.

Connect to your server

1

Start the Inspector

npx @modelcontextprotocol/inspector
The Inspector opens a local web UI.
2

Set the transport

In the server connection pane, select Streamable HTTP from the transport dropdown.
3

Paste your Server URL

Enter your Refold Server URL, copied from the server’s setup page in the dashboard. The copied URL already includes your host, token, and server ID, so the <domain>, <token>, and <server_id> placeholders below only show the structure. Refold accepts the token two ways; use whichever is easier in the Inspector.
https://<domain>/mcp/v1/<token>/<server_id>
4

Connect

Click Connect. The Inspector lists the tools your server exposes and shows the JSON schema for each.

Panels

PanelWhat it shows
ToolsEvery MCP tool the server exposes with its JSON schema. Click any tool to fill in arguments and run it.
ResourcesMCP resources (empty for Refold servers).
PromptsMCP prompts (empty for Refold servers).
NotificationsServer logs and raw JSON-RPC traffic.

Call a tool

In the Tools panel, click the tool you want to test. The Inspector renders an input form from the tool’s JSON schema. Fill in the fields and click Run Tool. For agent mode servers, the typical test sequence is:
  1. Run RESOLVE_ACTIONS with integration_query: ["List Contacts Salesforce"]
  2. Copy the returned slug, identifier, type, and json_schema
  3. Run EXECUTE_ACTION, passing slug as application_slug, identifier as action_id, the same type, and an input_payload that matches json_schema
See Tools for the full request and response shapes.

The Inspector shows no tools, or not the tools you expect

If the Inspector’s Tools panel is empty or lists tools you didn’t expect, the cause is almost always the server’s configuration, not the connection. Check two settings on the MCP server in the dashboard:
  • Mode. A server runs in one mode at a time. In direct mode the Inspector lists one tool per configured action or workflow (named like salesforce_list_contacts_action). In agent mode it lists two meta-tools, RESOLVE_ACTIONS and EXECUTE_ACTION. If you see the meta-tools but expected per-action tools, or the reverse, the server is in the other mode. Toggle Agent Mode to switch.
  • Enabled actions and skills. Only the apps and actions you added to the server appear as tools, so add any missing action on the server’s Applications tab. The skill tools LOAD_SKILL and GET_KNOWLEDGE_INDEX (which lists the server’s skills) appear only when Retrieve Skill is on, in either mode.
See Server configuration for where these toggles live and How it works for how each mode changes the tool list.

Command-line usage

For scripting or smoke-testing without the UI:
CLI: list tools
npx @modelcontextprotocol/inspector --cli \
  https://<domain>/mcp/v1/<token>/<server_id> \
  --transport http \
  --method tools/list
CLI: call a tool
npx @modelcontextprotocol/inspector --cli \
  https://<domain>/mcp/v1/<token>/<server_id> \
  --transport http \
  --method tools/call \
  --tool-name salesforce_list_contacts_action \
  --tool-arg input_payload='{"limit":10}'
To send the token as a header instead of in the path, use the header-form URL and pass --header:
CLI: token in a header
npx @modelcontextprotocol/inspector --cli \
  https://<domain>/mcp/v1/<server_id> \
  --transport http \
  --method tools/list \
  --header "Authorization: Bearer <token>"

MCP Logs

Once your agent is running, every tool call is captured in Maintain > MCP Logs. See MCP Logs for the full field reference, filters, and compliance details.

A tool call returned nothing useful

1

Open MCP Logs and filter by linked account

Go to Maintain > MCP Logs and filter by your agent’s linked account.
2

Find the call

Sort by timestamp and locate the call that should have produced the result.
3

Check the Status field

Open the detail panel:
StatusWhat it means
successRefold completed the call. If the result still looks wrong, the problem is in how the agent interpreted the response, so compare the response payload to what the agent told the user.
validation_errorThe agent sent input that didn’t match the tool’s schema, or referenced an app or action that isn’t on the server. The message the agent received explains what failed.
execution_errorRefold couldn’t reach the downstream service. The agent and the detail panel both show the same user-facing message; the full upstream error is not exposed.
pendingThe call started but did not record completion.
Downstream errors from third-party apps are never surfaced verbatim. The agent and the detail panel both show the same clean, user-facing message; the full upstream error is not exposed.

Trace a full agent conversation

Filter MCP Logs by Session ID to see every tool call from a single agent session in chronological order. This is the fastest way to understand what an agent actually did when it called several tools in sequence, for example GET_KNOWLEDGE_INDEXLOAD_SKILLRESOLVE_ACTIONSEXECUTE_ACTION × 3.

See also