> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gym.scale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Show Data

> Inspect the current state of an MCP server's database

Query the current state of a specific MCP server's database. Use this to inspect data created by tool calls within your session.

<Info>
  Contact Scale to receive Docker images for your environments.
</Info>

## Request Body

<ParamField body="image" type="string" required>
  Docker image identifier for the MCP environment. Contact Scale to obtain the image.
</ParamField>

<ParamField body="tags" type="object" required>
  Session scope tags for data isolation

  <Expandable title="properties">
    <ParamField body="assignmentId" type="string">
      Unique session identifier for data isolation
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="serverName" type="string" required>
  Name of the MCP server to query (e.g., `calendar`, `crm`, `email`)
</ParamField>

## Response

The response structure depends on the MCP server queried. Each server returns its database tables as JSON objects.

<ResponseField name="[tableName]" type="array">
  Array of records in the specified table
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST http://localhost:3004/show-data \
    -H "Content-Type: application/json" \
    -d '{
      "image": "agent-environment:latest",
      "tags": {"assignmentId": "my-test-session"},
      "serverName": "calendar"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "events": [
      {
        "id": "evt_abc123",
        "title": "Team Meeting",
        "start_time": 1735689600,
        "end_time": 1735693200,
        "location": "Conference Room A",
        "created_at": 1735600000
      }
    ],
    "tags": [
      {
        "id": "tag_001",
        "name": "work"
      }
    ]
  }
  ```
</ResponseExample>
