Skip to main content
Glama
oemoem12

lmstudio-agent-mcp

by oemoem12

agent_web_search

Read-onlyIdempotent

Search the web across DuckDuckGo, Bing, Google, and Baidu. Returns titles, URLs, and snippets for each result; no API key required.

Instructions

Search the web using the specified search engine and return results.

Supported engines: duckduckgo (default), bing, google, baidu. Each result contains a title, URL, and short snippet. No API key is required.

Args: query: Search query string. engine: Search engine to use. num_results: Maximum number of results to return. region: Optional region/locale code for search results.

Returns: str: JSON string with keys 'success', 'query', 'engine', and 'results'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query string.
engineNoSearch engine to use: 'duckduckgo', 'bing', 'google', or 'baidu'.duckduckgo
regionNoOptional region/locale code for search results (e.g. 'wt-wt', 'us-en', 'zh-cn').
num_resultsNoMaximum number of results to return.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds value by disclosing the supported engines, the return format (JSON string with keys), and the lack of API key requirement. This goes beyond the annotations, though it does not cover rate limits or failure behavior.

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 well-structured with clear sections: engine list, result format, args, and returns. Every sentence provides useful information without redundancy or fluff.

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

Completeness5/5

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

The description is complete for a web search tool: it lists all parameters, supported engines, result structure, and output format. The output schema further clarifies returns, and the description aligns with it. No missing essential context.

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?

The input schema already provides 100% coverage of parameter descriptions, including examples for region. The description's Args section largely mirrors the schema without adding meaningful new semantics, so the baseline 3 is appropriate.

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 searches the web and returns results, with a specific verb ('Search'), resource ('web'), and explicit support for multiple engines. This distinguishes it from sibling tools like file/memory/command operations.

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 implies usage context ('Search the web') and mentions that no API key is required, which is helpful. However, it does not explicitly state when to prefer this over alternatives or when not to use it, though such guidance is not critical given the distinct purpose.

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/oemoem12/lmstudio-agent-mcp'

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