PulseAugur
中
实时 16:34:26
English(EN) One tool or three? Measuring what MCP tool schema design costs in tokens

单个与多个AI工具:token成本衡量

一位开发者衡量了AI模型不同工具模式设计的token成本,具体比较了具有多个参数的单个工具与每个参数只有一个参数的多个工具。实验使用了DeepSeek-V4 Flash模型,发现由于序列化三个JSON模式而非一个,单工具方法导致提示成本增加了23%。此外,多工具方法的完成成本增加了27%,因为模型需要更多token来决定调用哪个工具。开发者建议,如果单个、较大的工具足以让模型做出正确选择,那么将其拆分成多个较小的工具是不必要的且成本高昂的。然而,如果模型在使用较大的工具时遇到困难,多工具方法增加的成本可能可以证明其可靠性提高是合理的。 AI

影响 该分析为优化AI代理性能和成本的开发者提供了关键数据,为工具模式设计决策提供信息。

排序理由 基于特定实验对AI模型行为和成本影响的分析。[lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — MCP tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

单个与多个AI工具:token成本衡量

本文如何被排名

Signal score
62 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
基于特定实验对AI模型行为和成本影响的分析。[lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — MCP tag TIER_1 English(EN) · vvvvking ·

    一个工具还是三个?衡量 MCP 工具模式设计在 token 上的成本

    <p>Every MCP server has to make the same design decision, and almost nobody measures it: do you expose one tool with several parameters, or several tools with one parameter each?</p> <p>The usual argument is about the model. Fewer, fatter tools are easier to choose between. More,…