Skip to main content
Glama
mcp-hints.sh868 B
#!/bin/bash # MCP Server Usage Hints Hook # This hook provides contextual hints for MCP tool usage # Get the tool being called from stdin or env TOOL_NAME="${CLAUDE_TOOL_NAME:-}" case "$TOOL_NAME" in mcp__openrouter-agents__research) echo "Hint: Use 'async: true' for long queries. Extract job_id from response." >&2 ;; mcp__openrouter-agents__get_report) echo "Hint: reportId must be a string. Use mode:'summary' for brief content." >&2 ;; mcp__openrouter-agents__search) echo "Hint: 'q' parameter required. Use 'scope: reports|docs|both'." >&2 ;; mcp__openrouter-agents__job_status) echo "Hint: Jobs expire after 1 hour. Extract report ID from completed jobs." >&2 ;; mcp__openrouter-agents__calc) echo "Hint: Use 'expr' parameter. Supports: +,-,*,/,^,()" >&2 ;; esac # Always succeed - hints are optional exit 0

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/wheattoast11/openrouter-deep-research-mcp'

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