Skip to main content
Glama

550W AI去字幕去水印

estimate_subtitle_cost

Read-onlyIdempotent

提交去字幕任务前,根据视频宽、高和时长估算积分并查询当前余额;实际提交时重新校验。

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": {
      "width": "<width>",
      "height": "<height>",
      "duration": "<duration>"
    },
    "name": "estimate_subtitle_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYes
heightYes
durationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the estimate is non-binding because 'actual submission re-validates', and the call also surfaces the current balance. It does not state units, rounding, or failure behavior when balance is insufficient.

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

Conciseness5/5

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

A single dense sentence with a semicolon separating the estimate action from the re-validation caveat. The prepend condition ('before submitting') is front-loaded and no clause is wasted.

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 a read-only cost-estimation tool with no output schema, the description still conveys what comes back (estimated credits plus current balance) and that the value is re-checked at submission. Missing unit/range semantics for the three required inputs keep it from being fully complete.

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 0%, so the description must carry the parameter burden. It names the three inputs (width, height, duration) and ties them to the credit formula, but gives no units (pixels? seconds?), no valid ranges, and no format guidance beyond the schema's minimum:1. Partial compensation, so a mid score.

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?

States a specific verb+resource: estimate credits from video width/height/duration and query the current balance. It clearly distinguishes itself from the sibling submit_subtitle_task by framing itself as the pre-submission check. It stops short of a 5 only because the naming of the task type ('去字幕' subtitle-removal) is contextual rather than explicit about what the returned estimate contains.

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?

Gives clear timing guidance: call this BEFORE submitting a subtitle-removal task. It implicitly routes the agent away from submit_subtitle_task for cost checks. There is no explicit when-not condition or mention of the other siblings (query_credits), so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources