Skip to main content
Glama

send_multipart_request

Sends an HTTP multipart/form-data request with files from disk to test file upload endpoints.

Instructions

Send an HTTP request with a multipart/form-data body, attaching files from disk. Useful for testing file upload endpoints.

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": {
      "url": "<url>",
      "files": "<files>"
    },
    "name": "send_multipart_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
filesYes
fieldsNoNon-file form fields
methodNoPOST
headersNo
confirmedNoSet to true to confirm sending to an external URL after reviewing it
environment_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

C2.9/5.0
Behavior2/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, yet it says nothing about the external-URL confirmation flow, whether requests are actually transmitted to live hosts, permission/auth requirements, or what happens when a file path is invalid. It only notes that files are read from disk, which hints at local file access but does not explain the consequence.

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

Conciseness4/5

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

Two short, front-loaded sentences with no filler; the core capability comes first. Slightly under-specified rather than verbose, so brevity costs it little here.

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

Completeness2/5

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

For a 7-parameter tool with a nested file array, an enum, an object map for non-file fields, and a confirmation flag — and with no annotations or output schema — the description is far too thin. An agent cannot tell how 'confirmed' interacts with sending, what 'environment_id' scopes, or how headers/fields are applied.

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

Parameters2/5

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

Schema description coverage is only 29% across 7 parameters (url, files, fields, method, headers, confirmed, environment_id), and the description adds no meaning beyond 'files from disk' — it never explains 'confirmed', 'environment_id', 'fields', or the method enum. It does not compensate for the documentation gap.

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 ('Send') and resource ('HTTP request') plus the distinguishing body type: multipart/form-data with files from disk. That scopes it apart from the generic send_http_request/send_request siblings, though it never names an alternative explicitly.

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?

'Useful for testing file upload endpoints' implies the scenario but gives no when-not guidance, no mention of when to prefer the plain request-sending siblings, and no note about the confirmation step implied by the 'confirmed' parameter.

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