Skip to main content
Glama
rcarmo

office-document-mcp-server

by rcarmo

web_search

Read-only

Search the web with DuckDuckGo to retrieve titles, URLs, and snippets for top results, without fetching full page content.

Instructions

Search the web using DuckDuckGo and return results.

Performs a web search and returns titles, URLs, and snippets for the top results. Does not fetch the full page content - use web_fetch for that.

Example: web_search(query="Microsoft Fabric lakehouse architecture")

web_search(
    query="python-pptx table formatting",
    max_results=10
)

Args: query: Search query string max_results: Maximum number of results to return (default: 5) region: DuckDuckGo region code (default: "wt-wt" for worldwide)

Returns: Dictionary with search results (title, url, snippet)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query string
max_resultsNoMaximum number of results to return (default: 5)
regionNoDuckDuckGo region code (default: "wt-wt" for worldwide)
Behavior5/5

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

Annotations indicate readOnlyHint=true and destructiveHint=false, and the description confirms it's a read-only search that returns snippets. It adds behavioral context by stating it does not fetch full page content, which aligns with annotations.

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 a brief overview, an example, and a structured args list. No unnecessary words; front-loaded with purpose.

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?

Given no output schema, the description explains return format (dictionary with title, url, snippet). All parameters are documented with defaults. Behavioral constraints are clear. Complete for a search tool.

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% with descriptions for each parameter. The tool description adds value by providing an example and clarifying the default for max_results and region. While not significantly beyond schema, the examples enhance usability.

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 it searches the web using DuckDuckGo, distinguishes from sibling web_fetch by noting it does not fetch full page content, and provides a concrete example.

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 explicitly says when to use (web search) and when not (use web_fetch for full content). It also explains region parameter. However, it does not mention other sibling tools like web_check_url as alternatives for checking URLs.

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/rcarmo/python-office-mcp-server'

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