Skip to main content
Glama

deepseek_ask

Send prompts to DeepSeek for low-cost batch pre-reading, document noise reduction, entity-relation extraction, or deep-reasoning fallback, with flash/pro tiers and optional server-side web search.

Instructions

调用 DeepSeek API(低成本批量预读、资料降噪、实体关系抽取或深度推理备胎),支持 flash(deepseek-flash)和 pro(deepseek-v4-pro)两档及可选服务端联网搜索,返回与 GPT 一致的 Token 用量与真实账户余额。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "deepseek_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNo模型档位:flash=deepseek-flash(默认,1M 上下文低成本预读/抽取),pro=deepseek-v4-pro(深度推理备胎)。
modelNo可选:显式指定 DeepSeek 模型名。
promptYes必填:发送给 DeepSeek 的任务提示词。
thinkingNo可选:是否开启思考模式(flash 默认 false,pro 默认 true)。
max_tokensNo可选:最大输出 Token 数。
web_searchNo可选:是否开启 DeepSeek 服务端联网搜索与读链接(默认 false)。
system_promptNo可选:系统提示词。
timeout_secondsNo可选:超时秒数(默认 120)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.0

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It does add real value by stating that it returns GPT-consistent token usage and the true account balance (covering the absence of an output schema) and that web search is optional and off by default. It says nothing about rate limits, cost per call beyond the vague 低成本, failure modes, or whether the call is externally billed, which are meaningful gaps for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with the verb first and no filler. The stacked parentheticals make it dense but every clause conveys a distinct fact (use cases, tiers, web search, return values).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter tool with no annotations and no output schema, the description covers the return values and the key optional capability, which is what an agent most needs. The remaining gap is behavioural risk context (billing, latency, failure handling) for an unannotated external API call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the eight parameters are already documented in the schema, including the flash/pro enum meanings and defaults. The description restates the tier mapping (flash=deepseek-flash, pro=deepseek-v4-pro) and web search but adds no semantics beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb+resource (调用 DeepSeek API) and enumerates concrete use cases (低成本批量预读、资料降噪、实体关系抽取、深度推理备胎), plus the two tiers and optional server-side web search. It is clear what the tool does, but it never distinguishes itself from the sibling deepseek_search, which also involves search behaviour, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical use-case list gives clear when-to-use context, and 深度推理备胎 explicitly frames the tool as a fallback for heavy reasoning. There is no when-not guidance and no explicit routing rule against deepseek_search or codex_exec, so the agent still has to decide the alternative itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.