{"serverId":"mcp-registry/ai.hashgrid/dna","tools":[{"name":"create_edge","fixed":{"name":"create_edge","description":"POST /nodes/{nid}/edges, the search: from query node `nid`, the best node it has not been shown yet,\namong those whose key starts with `prefix` (\"\" for any), stored as a new edge: `id` is the found node's id,\n`score` is null until you score it (update_edge). Null when nothing is left. Call again for the next.","inputSchema":{"type":"object","title":"create_edgeArguments","required":["nid"],"properties":{"nid":{"type":"string","title":"Nid"},"prefix":{"type":"string","title":"Prefix","default":""},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":177,"tokensAfter":177},{"name":"create_grid","fixed":{"name":"create_grid","description":"POST /: create a grid, your own space of nodes and scores; no API key needed. Returns its `api_key`, shown\nonly now: pass it as `api_key` to every other tool, or send it as the header `Authorization: Bearer hg-…`.\nIt holds up to `max_nodes` nodes. Each address may create only a few grids a day.","inputSchema":{"type":"object","title":"create_gridArguments","properties":{"name":{"type":"string","title":"Name","default":"hashgrid"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":132,"tokensAfter":132},{"name":"create_node","fixed":{"name":"create_node","description":"POST /nodes: add a node. An item gets a `key`, a path unique in the grid (e.g. \"/items/42\"), so searches\ncan find it; a query gets none. `emb` is its embedding, 1 to 2048 floats from any model; use one model per\ngrid. Returns its id and key (not its emb, to keep replies short; get_node has it).","inputSchema":{"type":"object","title":"create_nodeArguments","required":["emb"],"properties":{"emb":{"type":"array","items":{"type":"number"},"title":"Emb"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","default":null},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":186,"tokensAfter":186},{"name":"delete_edge","fixed":{"name":"delete_edge","description":"DELETE /nodes/{nid}/edges/{eid}: forget a result, so it can be suggested again; its score no longer\ntrains.","inputSchema":{"type":"object","title":"delete_edgeArguments","required":["nid","eid"],"properties":{"eid":{"type":"string","title":"Eid"},"nid":{"type":"string","title":"Nid"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: true, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":116,"tokensAfter":116},{"name":"delete_node","fixed":{"name":"delete_node","description":"DELETE /nodes/{nid}: delete a node and every edge from or to it; its scores no longer train.","inputSchema":{"type":"object","title":"delete_nodeArguments","required":["nid"],"properties":{"nid":{"type":"string","title":"Nid"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: true, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":99,"tokensAfter":99},{"name":"get_edge","fixed":{"name":"get_edge","description":"GET /nodes/{nid}/edges/{eid}: one result of query `nid`, and its score (null if not scored).","inputSchema":{"type":"object","title":"get_edgeArguments","required":["nid","eid"],"properties":{"eid":{"type":"string","title":"Eid"},"nid":{"type":"string","title":"Nid"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":110,"tokensAfter":110},{"name":"get_grid","fixed":{"name":"get_grid","description":"GET /: the grid the API key opens: its name, and the most nodes it holds, `max_nodes` (null: no limit).","inputSchema":{"type":"object","title":"get_gridArguments","properties":{"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":85,"tokensAfter":85},{"name":"get_node","fixed":{"name":"get_node","description":"GET /nodes/{nid}: a node, with its key (null if it has none) and its embedding `emb`.","inputSchema":{"type":"object","title":"get_nodeArguments","required":["nid"],"properties":{"nid":{"type":"string","title":"Nid"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":95,"tokensAfter":95},{"name":"list_edges","fixed":{"name":"list_edges","description":"GET /nodes/{nid}/edges: a query's results so far, each an edge with the found node's `id` and its\n`score` (null if not scored), in id order. `limit` is 1 to 1024; for the next page, pass the last id as\n`cursor`.","inputSchema":{"type":"object","title":"list_edgesArguments","required":["nid"],"properties":{"nid":{"type":"string","title":"Nid"},"limit":{"type":"integer","title":"Limit","default":32},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor","default":null},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":172,"tokensAfter":172},{"name":"list_nodes","fixed":{"name":"list_nodes","description":"GET /nodes: the grid's nodes, each with its id, key and emb, in id order. `limit` is 1 to 1024; for the\nnext page, pass the last id as `cursor`.","inputSchema":{"type":"object","title":"list_nodesArguments","properties":{"limit":{"type":"integer","title":"Limit","default":32},"cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor","default":null},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":137,"tokensAfter":137},{"name":"put_edge","fixed":{"name":"put_edge","description":"PUT /nodes/{nid}/edges/{eid}: score how well node `eid` fits query `nid`, from -1 (wrong) to 1\n(perfect), creating the edge if DNA never suggested it, e.g. scores you already have. Only scores train\nDNA; a new score replaces the last.","inputSchema":{"type":"object","title":"put_edgeArguments","required":["nid","eid","score"],"properties":{"eid":{"type":"string","title":"Eid"},"nid":{"type":"string","title":"Nid"},"score":{"type":"number","title":"Score"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":164,"tokensAfter":164},{"name":"update_edge","fixed":{"name":"update_edge","description":"PATCH /nodes/{nid}/edges/{eid}: score a result of query `nid` that create_edge returned, from -1 (wrong)\nto 1 (perfect). Only scores train DNA; a new score replaces the last.","inputSchema":{"type":"object","title":"update_edgeArguments","required":["nid","eid","score"],"properties":{"eid":{"type":"string","title":"Eid"},"nid":{"type":"string","title":"Nid"},"score":{"type":"number","title":"Score"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":148,"tokensAfter":148},{"name":"update_node","fixed":{"name":"update_node","description":"PATCH /nodes/{nid}: change a node. `key`: a new path, or null to remove it, so the node can no longer be\nfound; leave it out to keep it. `emb`: a new embedding; leave it out to keep it. Its scores keep training,\non the new embedding. Returns its id and key.","inputSchema":{"type":"object","title":"update_nodeArguments","required":["nid"],"properties":{"emb":{"anyOf":[{"type":"array","items":{"type":"number"}},{"type":"null"}],"title":"Emb","default":null},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key","default":""},"nid":{"type":"string","title":"Nid"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","default":null}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: true (inferred from the name).","verify":true}],"tokensBefore":197,"tokensAfter":197}],"toolsChanged":13,"tokensSaved":0,"todo":[{"tool":"create_edge","params":["nid","prefix","api_key"]},{"tool":"create_grid","params":["name"]},{"tool":"create_node","params":["emb","key","api_key"]},{"tool":"delete_edge","params":["eid","nid","api_key"]},{"tool":"delete_node","params":["nid","api_key"]},{"tool":"get_edge","params":["eid","nid","api_key"]},{"tool":"get_grid","params":["api_key"]},{"tool":"get_node","params":["nid","api_key"]},{"tool":"list_edges","params":["nid","limit","cursor","api_key"]},{"tool":"list_nodes","params":["limit","cursor","api_key"]},{"tool":"put_edge","params":["eid","nid","score","api_key"]},{"tool":"update_edge","params":["eid","nid","score","api_key"]},{"tool":"update_node","params":["emb","key","nid","api_key"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}