Skip to main content
Glama
runpod

RunPod MCP Server

Official
by runpod

runsync-endpoint

Submit a synchronous job to a serverless endpoint and wait for the result. Configure extended wait up to 5 minutes or use webhook notifications.

Instructions

Submit a synchronous job to a Serverless endpoint and wait for the result. Best for tasks completing within 90 seconds. If processing exceeds 90 seconds, the response returns a job ID to poll with get-job-status. Max payload: 20 MB. Results expire after 1 minute. Use the wait parameter to extend the server-side wait up to 5 minutes (300000 ms).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpointIdYesID of the Serverless endpoint to run synchronously
inputYesInput payload for the worker handler. The expected fields depend on the deployed model or worker.
waitNoHow long in milliseconds the server should wait for a result before returning a job ID to poll (1000–300000). Defaults to 90000 (90 seconds).
webhookNoWebhook URL to receive job completion notifications instead of polling
policyNoExecution policy options
s3ConfigNoS3-compatible storage config for large outputs
Behavior4/5

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

With no annotations, the description covers key behaviors: synchronous submission, timeout, polling fallback, max payload, and result expiry. It omits failure handling and cancellation details, but the core workflow is transparent.

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?

The description is concise with five sentences, no redundancy, and the main action is front-loaded. Every sentence contributes useful information.

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?

No output schema exists, but the description explains the return behavior (job ID for polling). However, it doesn't describe the success response format or handle nested parameters like s3Config, though these are in the schema.

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 coverage is 100%, so the description adds contextual value (e.g., wait parameter limits) but doesn't significantly enhance individual parameter meanings beyond the schema.

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?

The description explicitly states the tool submits a synchronous job and waits for a result, providing a specific verb and resource. It distinguishes from siblings like 'run-endpoint' by emphasizing synchronous behavior and timeout handling.

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?

The description advises when to use (tasks within 90 seconds) and how to handle longer tasks via polling or the wait parameter. It doesn't explicitly compare to alternatives like 'run-endpoint' or 'stream-job', but the timeout guidance is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/runpod/runpod-mcp-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server