Skip to main content
Glama

human_nose_tool

Detect odors and scents using human olfactory senses to identify food freshness, gas leaks, or evaluate aromas through human assistance.

Instructions

人間が鼻を使って匂いを確認します。

例: - 食べ物の新鮮さの確認 - ガス漏れなどの危険な匂いの検知 - 香りの評価

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instructionYes

Implementation Reference

  • The main handler implementation for the 'human_nose_tool'. It is registered via @mcp.tool() decorator. The function takes an instruction, creates a database task for human to perform the smelling action, asynchronously waits for completion, and returns the result.
    @mcp.tool() async def human_nose_tool(instruction: str, ctx: Context) -> Dict[str, str]: """人間が鼻を使って匂いを確認します。 例: - 食べ物の新鮮さの確認 - ガス漏れなどの危険な匂いの検知 - 香りの評価 """ task_id = str(uuid.uuid4()) formatted_instruction = f"👃 鼻を使って嗅覚確認: {instruction}" # タスクをデータベースに追加 db_utils.add_task(task_id, formatted_instruction) # ログ出力 sys.stderr.write(f"Human task created: {task_id}. Waiting for completion...\n") # 結果を待機(非同期ポーリング) result = await wait_for_task_completion(task_id) # ログ出力 sys.stderr.write(f"Human task {task_id} completed.\n") return {"smell": result}

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/upamune/human-mcp'

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