Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

test(mcp-studio): match the catalog test to check_job losing its read-only hint

nirholas9a59f2cb682d
diff --git a/tests/mcp-studio.test.js b/tests/mcp-studio.test.js
index c6948fe92..fa2faa395 100644
--- a/tests/mcp-studio.test.js
+++ b/tests/mcp-studio.test.js
@@ -45,10 +45,9 @@ describe('mcp-studio catalog', () => {
for (const t of TOOL_CATALOG) {
expect(typeof t.title).toBe('string');
expect(t.title.length).toBeGreaterThan(0);
- // check_job is a status probe and look_at_model draws a picture of a
- // model that already exists: both read-only and idempotent. Every
- // generator creates a fresh asset per call.
- const readOnly = t.name === 'check_job' || t.name === 'look_at_model';
+ // check_job can persist completed assets and submit recovery jobs;
+ // only rendering an existing model is read-only here.
+ const readOnly = t.name === 'look_at_model';
expect(t.annotations).toMatchObject(
readOnly
? { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }