Skip to main content
Glama
htooayelwinict

OpenRouter MCP Bridge

consult_openrouter

Submit prompts to OpenRouter API and receive structured responses in text, JSON, or code format.

Instructions

Consult OpenRouter API in non-interactive mode with structured output.

Processes prompt and returns formatted response. Supports text, JSON, and code extraction formats.

Args: query: The prompt to send to OpenRouter directory: Working directory (required) - for context only 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
queryYes
directoryYes
formatNojson
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description only states basic behavior (processes prompt, returns formatted response). It does not disclose authentication needs, rate limits, error handling, or whether the operation is destructive.

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?

The description is concise with a brief intro followed by a clear bullet list of parameters. The first two sentences are somewhat redundant ('Processes prompt and returns formatted response' repeats the intro), but overall efficient.

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?

The description covers basic usage and parameters, but lacks context on when to use this vs. siblings, and does not address potential errors or API limitations. An output schema exists but the return description is vague.

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?

The description adds significant meaning beyond the schema, such as explaining 'directory' is for context only, format options ('text', 'json', 'code'), and a recommended timeout range. Schema coverage was 0%.

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?

The description clearly states 'Consult OpenRouter API in non-interactive mode with structured output' and lists supported formats, but does not differentiate from sibling tools 'consult_openrouter_batch' and 'consult_openrouter_with_stdin'.

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?

No explicit guidance on when to use this tool versus alternatives. The description mentions 'non-interactive mode' but does not specify when not to use it or provide comparisons to siblings.

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