Skip to main content
Glama

erank_raw_request

Send raw requests to any eRank API path with JSON query and body strings; telemetry paths remain blocked unless explicitly enabled.

Instructions

Escape hatch: call any /api path. query_json and body_json are JSON strings. Telemetry paths (/api/logs) blocked unless ERANK_ALLOW_TELEMETRY=1. Writes should still respect ERANK_ALLOW_WRITES for safety on known mutators.

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "erank_raw_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
methodYes
refererNo
body_jsonNo
query_jsonNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description does real work: it discloses that /api/logs is gated behind ERANK_ALLOW_TELEMETRY=1 and that mutating calls are expected to honour ERANK_ALLOW_WRITES. Those are non-obvious guardrails an agent cannot infer from the schema. It stops short of describing failure modes or what happens when a blocked path is hit.

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?

Four short lines, front-loaded with the escape-hatch framing, then the parameter gotcha, then the safety constraints. Nothing is padded. The trailing clause "for safety on known mutators" is slightly muddled but does not obscure the rule.

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?

An output schema exists so return values need no explanation, and the key gating constraints are present. For an unannotated arbitrary-request tool that can mutate state, though, it should also cover path format, error behaviour on blocked or unknown routes, and whether the guardrail env vars are checked client-side or server-side.

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 0%, so the description must compensate, and it does for the two hardest parameters by clarifying that query_json and body_json are JSON strings rather than objects. However, path (does it include the /api prefix?), method (casing, allowed verbs) and referer remain entirely undocumented in both places.

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?

"Escape hatch: call any /api path" names a specific action (arbitrary HTTP request against the API surface) and the resource (any /api path). The "escape hatch" framing implicitly distinguishes it from the purpose-built siblings without naming one, which is enough for an agent to know this is the fallback rather than the first choice.

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?

The word "escape hatch" implies it should be used when no dedicated tool covers the need, but the description never states that preference explicitly nor names any alternative. The only hard usage rule given is the telemetry path block, so an agent gets a partial when-to-use signal and no explicit when-not.

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