Skip to main content
Glama
API Tester MCP Server

API Tester MCP Server

by japentaca

api_post

Sends an HTTP POST request to a specified URL with optional body data, headers, and query parameters, returning the response in JSON or CSV format.

Instructions

Make a POST request to a specified URL with optional data, headers and query parameters

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>"
    },
    "name": "api_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to send the POST request to
dataNoThe data to send in the request body (JSON, text, etc.)
formatNoOutput format (default: json)
paramsNoOptional query parameters as key-value pairs
headersNoOptional headers as key-value pairs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: nothing about what a non-2xx response yields, whether errors are raised or returned, timeout/redirect behavior, or that POST is non-idempotent and may create server-side state. For a generic mutating HTTP tool with zero annotation coverage, this is a substantial gap.

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?

One tight sentence with no filler, and the method and target are front-loaded. It is efficient, though the brevity comes at the cost of the behavioral and routing detail noted elsewhere.

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?

With no annotations, no output schema, five parameters and nested objects, the definition should explain what comes back, how failures surface, and how it relates to api_request. None of that is present, so an agent cannot predict the result shape or error semantics from this definition alone.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all five parameters, including the json/csv enum for format. The description only restates data, headers and query parameters and says nothing about the format parameter or constraints on url, so it adds no meaning beyond the schema — baseline 3.

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: "Make a POST request to a specified URL." That clearly separates it from api_get, api_put and api_delete by HTTP method, though it never explicitly names or contrasts api_request, which is the nearest ambiguous sibling.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not guidance. It does not say when an agent should reach for api_post rather than the generic api_request, nor any preconditions such as required auth or acceptable targets.

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

Deploy Server

Other Tools