Skip to main content
Glama

human_nose_tool

Detect odors, assess scents, and verify freshness using human nose capabilities. Ideal for food safety checks, gas leak detection, and fragrance evaluation.

Instructions

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

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instructionYes

Implementation Reference

  • The handler function for the 'human_nose_tool'. It generates a unique task ID, formats the instruction with an emoji, stores the task in the database using db_utils.add_task, polls for completion using wait_for_task_completion, and returns the result as {"smell": result}. The @mcp.tool() decorator registers it with MCP.
    @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}

Other Tools

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

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