Four MCP prompts for API work: test, add tests, import, debug
The Requestarium MCP server gives an AI agent tools: run a request, edit a collection, import a file. Tools alone leave the agent to work out a plan. The server also ships four prompts, ready-made instructions that turn a common job into one command. In Claude Code, Cursor and most other clients they show up as slash commands.
Where to find them
How a client shows MCP prompts varies:
- Claude Code: type
/and look for therequestariumentries, for example/mcp__requestarium__test_collection. - VS Code (Copilot Chat): type
/in the chat box; MCP prompts are listed with the server's name. - Other clients: look for a prompts or slash-command menu. A client that doesn't support MCP prompts still has the tools; describe the job in your own words.
Each prompt asks for its arguments, such as the collection name, then sends the agent a detailed instruction.
test_collection
Arguments: collection, optional environment.
The agent runs the collection with run_collection, summarizes what passed and failed, and for each failure reads the request with get_details and explains the likely cause: the request itself, the data, the environment, or the API. It suggests fixes and asks you before changing any request.
Use it after you change an endpoint, or when CI is red and you want a first read.
add_tests
Arguments: collection, optional folder.
For each request, the agent sends it once with run_request, then writes a test script that checks the status code, a response time under 1,000 ms, and the important fields and types in the body. It keeps existing tests, shows you the scripts, and saves them with update_request only after you agree.
Two safety rules are built in: it only sends GET requests on its own, and asks first for anything that changes data. Start with a folder, not the whole collection, so the review stays small.
import_api
Arguments: source (a file path or a curl command), optional workspace.
The agent does a dry run of import_collection first and shows what it would create. After the import, it lists the variables the requests need ({{baseUrl}}, {{bearerToken}}) and helps you create an environment for them. It's told never to put real secrets in requests and to suggest secret variables or a secret manager instead.
debug_request
Arguments: request (a name or Folder/Request path), optional environment.
The agent reads the request, runs it, and works through the usual suspects: unresolved {{variables}}, auth, headers, body format, the URL, or the server. It can produce a curl version with generate_snippet so you can try it yourself. It proposes a fix before changing anything.
When to write your own prompt
The four prompts are starting points. For anything specific to your API, say it in your own words, and name the tools if you want control:
Run the "Checkout" folder of "Orders API" against Local. For every request that fails with 5xx, show me the response body and the line in
src/orders/most likely to cause it. Don't change any requests.
The agent has the same tools either way. The built-in prompts only save you typing the plan.