Task Prompt
I need you to check the cloud database and tell me how many people left and joined the sales department the first quarter of the year that the game store customer having the number ten on their id made their purchase.
I need you to check the cloud database and tell me how many people left and joined the sales department the first quarter of the year that the game store customer having the number ten on their id made their purchase.
I need you to check the cloud database and tell me how many people left and joined the sales department the first quarter of the year that the game store customer having the number ten on their id made their purchase.
---
name: workspace-filesystem
description: The virtual filesystem layout of this workspace.
---
# Virtual Filesystem
You work in a terminal over a virtual filesystem. Read files with shell
commands.
Command output comes back whole, however long. Some files here are large,
so point `grep -r`, `rg`, `find` and `cat` at the directory or file you
need rather than at a whole mount.
| path | what it is |
|---|---|
| `/mongodb` | Your MongoDB databases, read-only; change them with the `mongodb` CLI. |
| `/airtable` | Your Airtable bases, read-only. |
| `/tmp` | Scratch space, in memory. |
## `/mongodb`
```
/mongodb/
<database>/
database.json
collections/
<collection>/
schema.json
documents.jsonl
views/
<view>/
schema.json
documents.jsonl
```
- `database.json`: `{database: str, collections: list[{name: str}],
views: list[{name: str}]}`
- `schema.json`: `{database: str, name: str, kind: str, validator: dict |
null, fields: list[{path: str, presence: number, types: dict}],
primary_key: str, indexes: list[{name: str, keys: dict, type: str}],
sampled: int}`, read from a sample of `sampled` documents
- `documents.jsonl`: one document per line, in MongoDB Extended JSON: a date
reads as `{"$date": "..."}`
## `/airtable`
```
/airtable/
bases/
<base-name>__<base-id>/
base.json
<table-name>__<table-id>/
table.json
records.jsonl
views/
<view-name>__<view-id>.jsonl
```
A base, table or view name in a path is sanitized: spaces and characters
unsafe in a shell become `_`. `ls` a directory for the exact name rather
than building the path; the id after the last `__` is exact.
- `base.json`: `{base_id: str, base_name: str, permission_level: str,
tables: list[{table_id: str, table_name: str, primary_field_id: str}]}`
- `table.json`: `{table_id: str, table_name: str, base_id: str, description:
str | null, primary_field_id: str, fields: list[{field_id: str,
field_name: str, type: str, description: str | null, options: dict |
null}], views: list[{view_id: str, view_name: str, type: str}]}`
- `records.jsonl`: one record per line, `{record_id: str, created_time: str,
fields: {<field-name>: <value>}}`; an empty cell is absent
- `<view>.jsonl`: the records the view shows, in its order, as
`records.jsonl` writes them| name | workspace-filesystem |
|---|---|
| description | The virtual filesystem layout of this workspace. |
Virtual Filesystem
You work in a terminal over a virtual filesystem. Read files with shell commands.
Command output comes back whole, however long. Some files here are large, so point grep -r, rg, find and cat at the directory or file you need rather than at a whole mount.
| path | what it is |
|---|---|
/mongodb | Your MongoDB databases, read-only; change them with the mongodb CLI. |
/airtable | Your Airtable bases, read-only. |
/tmp | Scratch space, in memory. |
/mongodb
/mongodb/
<database>/
database.json
collections/
<collection>/
schema.json
documents.jsonl
views/
<view>/
schema.json
documents.jsonldatabase.json: {database: str, collections: list[{name: str}], views: list[{name: str}]}schema.json: {database: str, name: str, kind: str, validator: dict | null, fields: list[{path: str, presence: number, types: dict}], primary_key: str, indexes: list[{name: str, keys: dict, type: str}], sampled: int}, read from a sample of sampled documentsdocuments.jsonl: one document per line, in MongoDB Extended JSON: a date reads as {"$date": "..."}/airtable
/airtable/
bases/
<base-name>__<base-id>/
base.json
<table-name>__<table-id>/
table.json
records.jsonl
views/
<view-name>__<view-id>.jsonlA base, table or view name in a path is sanitized: spaces and characters unsafe in a shell become _. ls a directory for the exact name rather than building the path; the id after the last __ is exact.
base.json: {base_id: str, base_name: str, permission_level: str, tables: list[{table_id: str, table_name: str, primary_field_id: str}]}table.json: {table_id: str, table_name: str, base_id: str, description: str | null, primary_field_id: str, fields: list[{field_id: str, field_name: str, type: str, description: str | null, options: dict | null}], views: list[{view_id: str, view_name: str, type: str}]}records.jsonl: one record per line, {record_id: str, created_time: str, fields: {<field-name>: <value>}}; an empty cell is absent<view>.jsonl: the records the view shows, in its order, as records.jsonl writes them---
name: workspace-commands
description: Use when running commands in this workspace - which commands exist, what they can do, and what the interpreter supports.
---
# Available commands
Python (`python` or `python3`), Perl, JavaScript/Node.js, and TypeScript
runtimes are unavailable. Use the shell commands and task CLIs documented
below; do not probe for or attempt to install other runtimes.
Standard Unix commands, among them:
cat head tail ls find grep wc sort uniq cut tr sed awk
diff tee xargs jq
with pipes, `>` redirection and `$(...)` substitution.
Do not probe the machine with `which`, `type`, `--version`, `env`, `ps`,
`echo $PATH`, `ls /usr/bin` or `cat /usr/bin/<command>`: they tell you
nothing about the task.
A filename with a space in it needs quoting, as it would in any shell.
## mongodb
Use `mongodb <command> '<JSON arguments>'`. Run `mongodb <command> --help`
to get more information.
```sh
mongodb list-collections '{"database":"DATABASE"}'
mongodb list-databases '{}'
mongodb collection-indexes '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb collection-schema '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb find '{"database":"DATABASE","collection":"COLLECTION","filter":{"FIELD":"VALUE"},"limit":10}'
mongodb collection-storage-size '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb count '{"database":"DATABASE","collection":"COLLECTION","query":{"FIELD":"VALUE"}}'
mongodb db-stats '{"database":"DATABASE"}'
mongodb aggregate '{"database":"DATABASE","collection":"COLLECTION","pipeline":[{"$group":{"_id":"$FIELD","total":{"$sum":1}}}]}'
mongodb explain '{"database":"DATABASE","collection":"COLLECTION","method":[{"name":"find","arguments":{"filter":{"FIELD":"VALUE"}}}]}'
```
| Command | Arguments | Description |
|---|---|---|
| `mongodb list-collections` | `{database: str}` | List all collections for a given database |
| `mongodb list-databases` | `{}` | List all databases for a MongoDB connection |
| `mongodb collection-indexes` | `{database: str, collection: str}` | Describe the indexes for a collection |
| `mongodb collection-schema` | `{database: str, collection: str}` | Describe the schema for a collection |
| `mongodb find` | `{database: str, collection: str, filter?: dict, projection?: dict, limit?: number = 10, sort?: dict}` | Run a find query against a MongoDB collection |
| `mongodb collection-storage-size` | `{database: str, collection: str}` | Gets the size of the collection |
| `mongodb count` | `{database: str, collection: str, query?: dict}` | Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter |
| `mongodb db-stats` | `{database: str}` | Returns statistics that reflect the use state of a single database |
| `mongodb aggregate` | `{database: str, collection: str, pipeline: list[dict]}` | Run an aggregation against a MongoDB collection |
| `mongodb explain` | `{database: str, collection: str, method: list[{name: str, arguments: dict}]}` | Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method |
## airtable
Use `airtable <command> '<JSON arguments>'`. Run `airtable <command> --help`
to get more information.
```sh
airtable list-bases '{}'
airtable list-tables '{"base_id":"BASE_ID"}'
airtable list-records '{"base_id":"BASE_ID","table_name":"TABLE","max_records":10}'
airtable search-records '{"base_id":"BASE_ID","table_name":"TABLE","field_name":"FIELD","value":"VALUE"}'
airtable get-record '{"base_id":"BASE_ID","table_name":"TABLE","record_id":"RECORD_ID"}'
```
| Command | Arguments | Description |
|---|---|---|
| `airtable list-bases` | `{}` | List all accessible Airtable bases |
| `airtable list-tables` | `{base_id: str}` | List all tables in a base |
| `airtable list-records` | `{base_id: str, table_name: str, max_records?: number}` | List records in a table |
| `airtable search-records` | `{base_id: str, table_name: str, field_name: str, value: str}` | Search for records in a table |
| `airtable get-record` | `{base_id: str, table_name: str, record_id: str}` | Get a single record by its ID |
## wikipedia
Use `wikipedia <command> '<JSON arguments>'`. Run
`wikipedia <command> --help` to get more information.
```sh
wikipedia search-wikipedia '{"query":"QUERY"}'
wikipedia extract-key-facts '{"title":"TITLE","count":5}'
```
| Command | Arguments | Description |
|---|---|---|
| `wikipedia search-wikipedia` | `{query: str, limit?: int = 10}` | Search Wikipedia for articles matching a query. |
| `wikipedia extract-key-facts` | `{title: str, topic_within_article?: str = "", count?: int = 5}` | Extract key facts from a Wikipedia article, optionally focused on a topic. |
## exa
Use `exa <command> '<JSON arguments>'`. Run `exa <command> --help` to get
more information.
```sh
exa web-search-exa '{"query":"QUERY","numResults":5}'
```
| Command | Arguments | Description |
|---|---|---|
| `exa web-search-exa` | `{query: str, numResults?: number}` | Search the web for any topic and get clean, ready-to-use content. |
## e2b-server
Use `e2b-server <command> '<JSON arguments>'`. Run
`e2b-server <command> --help` to get more information.
```sh
e2b-server run-code '{"code":"print(1 + 1)"}'
```
| Command | Arguments | Description |
|---|---|---|
| `e2b-server run-code` | `{code: str}` | Run python code in a secure sandbox by E2B. Using the Jupyter Notebook syntax. |
## pubmed
Use `pubmed <command> '<JSON arguments>'`. Run `pubmed <command> --help` to
get more information.
```sh
pubmed search-pubmed-key-words '{"key_words":"QUERY","num_results":5}'
```
| Command | Arguments | Description |
|---|---|---|
| `pubmed search-pubmed-key-words` | `{key_words: str, num_results?: int = 10}` | || name | workspace-commands |
|---|---|
| description | Use when running commands in this workspace - which commands exist, what they can do, and what the interpreter supports. |
Available commands
Python (python or python3), Perl, JavaScript/Node.js, and TypeScript runtimes are unavailable. Use the shell commands and task CLIs documented below; do not probe for or attempt to install other runtimes.
Standard Unix commands, among them:
cat head tail ls find grep wc sort uniq cut tr sed awk
diff tee xargs jqwith pipes, > redirection and $(...) substitution.
Do not probe the machine with which, type, --version, env, ps, echo $PATH, ls /usr/bin or cat /usr/bin/<command>: they tell you nothing about the task.
A filename with a space in it needs quoting, as it would in any shell.
mongodb
Use mongodb <command> '<JSON arguments>'. Run mongodb <command> --help to get more information.
mongodb list-collections '{"database":"DATABASE"}'
mongodb list-databases '{}'
mongodb collection-indexes '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb collection-schema '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb find '{"database":"DATABASE","collection":"COLLECTION","filter":{"FIELD":"VALUE"},"limit":10}'
mongodb collection-storage-size '{"database":"DATABASE","collection":"COLLECTION"}'
mongodb count '{"database":"DATABASE","collection":"COLLECTION","query":{"FIELD":"VALUE"}}'
mongodb db-stats '{"database":"DATABASE"}'
mongodb aggregate '{"database":"DATABASE","collection":"COLLECTION","pipeline":[{"$group":{"_id":"$FIELD","total":{"$sum":1}}}]}'
mongodb explain '{"database":"DATABASE","collection":"COLLECTION","method":[{"name":"find","arguments":{"filter":{"FIELD":"VALUE"}}}]}'| Command | Arguments | Description |
|---|---|---|
mongodb list-collections | {database: str} | List all collections for a given database |
mongodb list-databases | {} | List all databases for a MongoDB connection |
mongodb collection-indexes | {database: str, collection: str} | Describe the indexes for a collection |
mongodb collection-schema | {database: str, collection: str} | Describe the schema for a collection |
mongodb find | {database: str, collection: str, filter?: dict, projection?: dict, limit?: number = 10, sort?: dict} | Run a find query against a MongoDB collection |
mongodb collection-storage-size | {database: str, collection: str} | Gets the size of the collection |
mongodb count | {database: str, collection: str, query?: dict} | Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter |
mongodb db-stats | {database: str} | Returns statistics that reflect the use state of a single database |
mongodb aggregate | {database: str, collection: str, pipeline: list[dict]} | Run an aggregation against a MongoDB collection |
mongodb explain | {database: str, collection: str, method: list[{name: str, arguments: dict}]} | Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method |
airtable
Use airtable <command> '<JSON arguments>'. Run airtable <command> --help to get more information.
airtable list-bases '{}'
airtable list-tables '{"base_id":"BASE_ID"}'
airtable list-records '{"base_id":"BASE_ID","table_name":"TABLE","max_records":10}'
airtable search-records '{"base_id":"BASE_ID","table_name":"TABLE","field_name":"FIELD","value":"VALUE"}'
airtable get-record '{"base_id":"BASE_ID","table_name":"TABLE","record_id":"RECORD_ID"}'| Command | Arguments | Description |
|---|---|---|
airtable list-bases | {} | List all accessible Airtable bases |
airtable list-tables | {base_id: str} | List all tables in a base |
airtable list-records | {base_id: str, table_name: str, max_records?: number} | List records in a table |
airtable search-records | {base_id: str, table_name: str, field_name: str, value: str} | Search for records in a table |
airtable get-record | {base_id: str, table_name: str, record_id: str} | Get a single record by its ID |
wikipedia
Use wikipedia <command> '<JSON arguments>'. Run wikipedia <command> --help to get more information.
wikipedia search-wikipedia '{"query":"QUERY"}'
wikipedia extract-key-facts '{"title":"TITLE","count":5}'| Command | Arguments | Description |
|---|---|---|
wikipedia search-wikipedia | {query: str, limit?: int = 10} | Search Wikipedia for articles matching a query. |
wikipedia extract-key-facts | {title: str, topic_within_article?: str = "", count?: int = 5} | Extract key facts from a Wikipedia article, optionally focused on a topic. |
exa
Use exa <command> '<JSON arguments>'. Run exa <command> --help to get more information.
exa web-search-exa '{"query":"QUERY","numResults":5}'| Command | Arguments | Description |
|---|---|---|
exa web-search-exa | {query: str, numResults?: number} | Search the web for any topic and get clean, ready-to-use content. |
e2b-server
Use e2b-server <command> '<JSON arguments>'. Run e2b-server <command> --help to get more information.
e2b-server run-code '{"code":"print(1 + 1)"}'| Command | Arguments | Description |
|---|---|---|
e2b-server run-code | {code: str} | Run python code in a secure sandbox by E2B. Using the Jupyter Notebook syntax. |
pubmed
Use pubmed <command> '<JSON arguments>'. Run pubmed <command> --help to get more information.
pubmed search-pubmed-key-words '{"key_words":"QUERY","num_results":5}'| Command | Arguments | Description |
|---|---|---|
pubmed search-pubmed-key-words | {key_words: str, num_results?: int = 10} |
| Model | VFS | MCP | VFS Tokens | MCP Tokens | Token Reduction Rate |
|---|---|---|---|---|---|
| Claude Opus 5.5 | 1/1 | 1/1 | 31.4k | 88.2k | 64% |
| GPT-6.1 Sol | 0/1 | 1/1 | 26.3k | 47.0k | 44% |
| GPT-5.6 Luna | 1/1 | 1/1 | 119k | 154k | 22% |
| Claude Haiku 5.5 | 1/1 | 1/1 | 177k | 145k | −22% |
| Gemini 3.8 Flash | 1/1 | 1/1 | 516k | 889k | 42% |