{"ref":"content:cap-in-the-age-of-ai-2-more-on-the-mcp-adapter","page":"/content/cap-in-the-age-of-ai-2-more-on-the-mcp-adapter","json":"/content/cap-in-the-age-of-ai-2-more-on-the-mcp-adapter.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-in-the-age-of-ai-2-more-on-the-mcp-adapter","content_type":"video","url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter","published_on":"source:youtube","published":"2026-08-14","part_of":"content:cap-in-the-age-of-ai","position":2,"authors":["actor:dj-adams","actor:akatuoro","actor:sirsimon04","actor:stefanrudi"],"summary":"What the query tool costs in tokens, and the third tool [@cap-js/mcp](artifact:cap-js-mcp) registers. Counted against a model running locally under llama.cpp, the same query is 26 tokens as CQL and 173 as CQN, and the tool definition sent with every system prompt drops from around 5,500 tokens to around 600 — the reason CQL became the default format. The `call` tool then exposes a service's unbound actions and functions, as one generic tool or, behind a flag, one tool per action with its own description and input schema; a question from the chat about extension points gets the answer that the adapter does the tools, which the panel calls a small subset of the protocol.","short":"Token cost of the query tool and the third @cap-js/mcp tool","explains":["artifact:cap-js-mcp","capability:mcp-servers"],"sources":[{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — CQL and CQN token counts","checked":"2026-10-18","quote":"okay, this has now 26 tokens. And if we now also right, paste in the um CQN in here, right? We say, okay, we are to 173 tokens, right?"},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — the tool schema in the system prompt","checked":"2026-10-18","quote":"but the schema reduced by a lot, and which is also really important because it gets sent to the um LLM with the system prompt. So, at the beginning of every um conversation."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — tokens with CQL","checked":"2026-10-18","quote":"Right, when I look at this, okay, we have maybe like 600 C tokens."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — tokens with CQN","checked":"2026-10-18","quote":"So let's just also like see, okay how many starts, all right? So we have 5,500. So that's already a big difference, I would say."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — the local model server","checked":"2026-10-18","quote":"Yeah, basically this simply starts the server, right? For Lama CPP. And I do have a local model running from Hugging Face."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — the call tool","checked":"2026-10-18","quote":"um you can do this over our call tool, um which exposes um unbound actions and functions over MCP."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — a tool per action","checked":"2026-10-18","quote":"you can set a flag that is also documented in our readme, um and say that you don't want them generic call tool, but you want a tool per action."},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — what a per-action tool carries","checked":"2026-10-18","quote":"it will get the input schema directly for the tool, and it will also get a detailed description and not a generic description what we had before"},{"url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","title":"CAP in the age of AI #2 - more on the MCP adapter — how much of the protocol is implemented","checked":"2026-10-18","quote":"but what we automatically do out of the box is really just a small subset of the whole protocol, right?"}],"provenance":{"discovered_via":[{"source":"source:youtube"}],"first_seen":"2026-10-18"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 2 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-08-14"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":{"head":{"id":"cap-in-the-age-of-ai","title":"CAP in the age of AI","content_type":"series"},"container":true,"of":7,"at":2,"parts":[{"position":1,"title":"CAP in the age of AI #1 - the MCP adapter","url":"https://www.youtube.com/watch?v=VPJhkR9pHVM","published":"2026-08-07","state":"indexed","id":"cap-in-the-age-of-ai-1-the-mcp-adapter"},{"position":2,"title":"CAP in the age of AI #2 - more on the MCP adapter","url":"https://www.youtube.com/watch?v=5RBFxl5IqKs","published":"2026-08-14","state":"indexed","id":"cap-in-the-age-of-ai-2-more-on-the-mcp-adapter"},{"position":3,"title":"CAP in the age of AI #3 - from MCP to A2A","url":"https://www.youtube.com/watch?v=Nu_bEVFM7DM","published":"2026-08-21","state":"indexed","id":"cap-in-the-age-of-ai-3-from-mcp-to-a2a"},{"position":4,"title":"CAP in the age of AI #4 - more on agents","url":"https://www.youtube.com/watch?v=2nWIwzoNw-M","published":"2026-09-11","state":"indexed","id":"cap-in-the-age-of-ai-4-more-on-agents"},{"position":5,"title":"CAP in the age of AI #5 - agents wrap-up","url":"https://www.youtube.com/watch?v=cMqSxjtN1hs","published":"2026-10-02","state":"indexed","id":"cap-in-the-age-of-ai-5-agents-wrap-up"},{"position":6,"title":"CAP in the age of AI #6 - vector embeddings","url":"https://www.youtube.com/watch?v=tdtRgPy4B40","published":"2026-10-09","state":"indexed","id":"cap-in-the-age-of-ai-6-vector-embeddings"},{"position":7,"title":"CAP in the age of AI #7 - vector embeddings wrap-up","url":"https://www.youtube.com/watch?v=JGXE952l4JM","published":"2026-10-16","state":"indexed","id":"cap-in-the-age-of-ai-7-vector-embeddings-wrap-up"}]},"edges":{"authors":[{"ref":"actor:dj-adams","name":"DJ Adams","json":"/actors/dj-adams.json"},{"ref":"actor:akatuoro","name":"Johannes Vogt","json":"/actors/akatuoro.json"},{"ref":"actor:sirsimon04","name":"Simon Engel","json":"/actors/sirsimon04.json"},{"ref":"actor:stefanrudi","name":"Stefan Rudi","json":"/actors/stefanrudi.json"}]}}