Skip to main content
Glama
htooayelwinict

OpenRouter MCP Bridge

consult_openrouter_with_stdin

Pipe file contents or logs as stdin to OpenRouter for AI processing, combining them with a prompt for CI/CD workflows.

Instructions

Consult OpenRouter with stdin content piped to prompt.

Similar to 'echo "content" | open-bridge "prompt"' - combines stdin with prompt. Perfect for CI/CD workflows where you pipe file contents to the AI.

Args: stdin_content: Content to pipe as stdin (e.g., file contents, diff, logs) prompt: The prompt to process the stdin content directory: Working directory (required) format: Output format - "text", "json", or "code" (default: "json") timeout: Optional timeout in seconds (overrides env var, recommended: 60-120)

Returns: Formatted response based on format parameter

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stdin_contentYes
promptYes
directoryYes
formatNojson
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must fully disclose behavior. It explains the input combination and output formatting but does not mention side effects, potential errors, or constraints like rate limits. The basic structure is clear, but deeper behavioral details are absent.

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, front-loading the core purpose and analogy, followed by a well-structured parameter list. Every sentence contributes meaning without redundancy, making it efficient for an agent to parse.

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?

Given the 5 parameters and no schema descriptions, the description covers all inputs and mentions the output format. However, it omits details about error handling, timeout behavior, and the exact structure of the returned response. The presence of an output schema reduces the need for such details, but slight gaps remain.

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

Parameters5/5

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

The description compensates for the 0% schema coverage by providing clear, actionable explanations for all five parameters, including examples for stdin_content, allowed values for format, and a recommended range for timeout. This adds significant value 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 clearly states the tool's action: 'Consult OpenRouter with stdin content piped to prompt.' It provides a concrete analogy ('echo ... | open-bridge') and specifies the use case for CI/CD workflows. This differentiates it from sibling tools like consult_openrouter and consult_openrouter_batch, which likely handle standard queries or batched inputs.

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 description explicitly identifies the tool as suitable for CI/CD workflows involving piping file contents, but it does not provide guidance on when to avoid this tool in favor of siblings. No exclusions or alternatives are mentioned, limiting decision-making for the agent.

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/htooayelwinict/open-bridge'

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