Skip to main content
Glama

Send proxied provider request

stack_proxy_request
Destructive

Send an HTTP request to a connected provider through STACK's credential proxy. STACK injects the provider credential, which is never returned. Non-GET calls require authority_request_id, which identifies one operation: an operation is counted once, a different request under the same id is refused as a conflict, and an operation with an unknown provider outcome is not resent automatically. Status and stored-response reads are not counted. Passports in enforced mode also require approval_id from an approved intent (stack_submit_intent, stack_get_intent_approval). When refused CONTROL_DENIED with reason review_required, ask again with the same input and control_ref set to the ref once the owner approved.

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": {
      "service": "<service>",
      "url": "<url>",
      "method": "<method>",
      "passport_token": "<passport_token>"
    },
    "name": "stack_proxy_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull target URL (e.g. "https://api.openai.com/v1/models")
bodyNoRequest body (will be JSON-serialized)
queryNoQuery parameters to append to URL
methodYesHTTP method
headersNoExtra headers (auth headers will be stripped — STACK injects them)
serviceYesProvider slug (e.g. "openai", "slack", "github")
connectionNoWhich connection of the service to use, by its name or id (scon_*). Needed only when the agent has more than one connection of the service.
approval_idNoApproval id from stack_submit_intent. Required when the calling passport is in enforced mode. Sent server-side as X-Intent-Approval-Id.
control_refNoThe ref of a refusal that held this action for the owner, sent as X-Control-Ref once the owner approved it; omit on the first request
passport_tokenYesPassport JWT token
authority_request_idNoStable high-entropy operation id. Required for non-GET calls. One id identifies one unchanged request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag this as a destructive, open-world write, but the description goes well beyond them: credentials are injected server-side and never returned, one authority_request_id identifies exactly one unchanged request, a differing request under the same id is refused as a conflict, and an operation with unknown provider outcome is never resent automatically. The approval/control_ref escalation path is also disclosed, which is precisely the behavioral context an agent needs before calling a destructive proxy.

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?

Front-loaded with the core action and mechanism, then layered with idempotency and approval rules in a logical order. It is a single dense paragraph of long sentences; it is information-rich rather than padded, but breaking the counting rules and the refusal-recovery rule into distinct sentences would improve scannability.

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

Completeness4/5

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

For an 11-parameter destructive, open-world tool with no output schema, the description covers the highest-risk unknowns: credential handling, idempotency, and the approval gate. It does not indicate what a successful response contains or how errors other than CONTROL_DENIED surface, which leaves a modest gap for an agent that must interpret the result.

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 parameter documentation is already strong and baseline is 3. The description still adds meaning beyond the schema by explaining the operational consequence of authority_request_id (counted once, conflict on reuse, no automatic resend on unknown outcome) and the sequencing of approval_id and control_ref, which the schema only states as field-level facts.

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

Purpose5/5

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

States a specific verb and resource ('Send an HTTP request to a connected provider') plus the mechanism ('through STACK's credential proxy'), which separates it from sibling tools like stack_request_authority or stack_get_proxy_operation that handle the surrounding authority/read flows. An agent can identify what this tool does without opening the schema.

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

Usage Guidelines4/5

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

Gives clear conditional guidance: non-GET calls require authority_request_id, enforced-mode passports require approval_id from stack_submit_intent/stack_get_intent_approval, and CONTROL_DENIED/review_required is handled by resending with control_ref. It also states a negative case (status and stored-response reads are not counted). It stops short of explicitly naming which sibling to use for a read-only proxy operation, so it is not a full when/when-not/alternative matrix.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.