Skip to main content
Glama

import_from_curl

Parse a curl command and save it as a new Insomnia request to make HTTP calls reusable in your API workspace. Supports -X, -H, -d, -u, --data, and --header flags.

Instructions

Parse a curl command and save it as a new Insomnia request. Supports -X, -H, -d, -u, --data, --header flags.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "curl_command": "<curl_command>",
      "parent_id": "<parent_id>"
    },
    "name": "import_from_curl"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequest name (defaults to URL path)
parent_idYesWorkspace or folder ID to save into
curl_commandYesThe full curl command to import

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It does disclose the supported curl flags (-X, -H, -d, -u, --data, --header), which is genuinely useful behavioral context implying other flags are ignored, but it says nothing about parse-failure behavior, whether an existing request is overwritten, or what permissions are needed to write into the target parent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with zero waste, action front-loaded and the supported-flag detail relegated to the second sentence. Nothing is repeated from the schema or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter import tool with no output schema, the definition covers the what and the accepted input dialect. It omits what the tool returns (e.g. an ID of the created request) and how failures or invalid curl strings are surfaced, which an agent would want before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description adds a bit by clarifying that the input is a full curl command to be parsed rather than a path or ID. The default-naming behavior for name and the meaning of parent_id are left entirely to the schema, which already covers them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: "Parse a curl command and save it as a new Insomnia request." That is unambiguous and clearly distinct from the export_as_curl sibling by direction of data flow. It does not explicitly name or contrast with the other import_* tools, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent infers this is the tool for turning a curl snippet into a saved request, and the flag list hints at what input shapes are acceptable. There is no explicit when-to-use vs. when-not guidance and no mention of prerequisites such as a valid existing parent_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.