| description | The authoritative reference for adding a NEW tool, MCP context provider, or BOTH to Tlamatini. READ THIS BEFORE registering a `@tool` in `tools.py`, before creating an `mcp_*_server.py` + `chain_*_lcel.py` pair, before seeding a `Tool` or `Mcp` row in a migration, before extending `factory.py`, or before touching the MCP/Tool checkboxes. Covers the three classes (tool-only / MCP-backed context provider / both), the tool-vs-MCP terminology distinction (`get_mcp_tools()` returns LangChain tools, NOT MCP services), and the known hardcoded assumptions in `factory.py` and the frontend. |
| metadata | {"openclaw":{"emoji":"🧩"},"tlamatini":{"runtime":"in-process","requires_tools":[],"requires_mcps":[],"budget":{"max_iterations":2,"max_seconds":30,"max_tokens":60000},"permissions":{"filesystem":{"read":["Tlamatini/.mcps/create_new_mcp.md"],"write":[]},"shell":[],"network":"deny","db":"deny"},"inputs":[],"outputs":[{"name":"guide_path","type":"string","required":true,"description":"Absolute path of the canonical guide that was consulted."}],"triggers":{"keywords":["new tool","add tool","new mcp","add mcp","create new mcp","create mcp","register tool","context provider","system metrics tool","file search tool","tools.py","factory.py","mcp checkbox"],"file_globs":["Tlamatini/agent/tools.py","Tlamatini/agent/mcp_*_server.py","Tlamatini/agent/mcp_*_client.py","Tlamatini/agent/rag/chains/*.py","Tlamatini/agent/rag/chain_*_lcel.py","Tlamatini/agent/rag/factory.py","Tlamatini/agent/migrations/00*_*tool*.py","Tlamatini/agent/migrations/00*_*mcp*.py"]}}} |