Skip to main content
Glama

pet_say

Makes a running dsh-pet desktop pet speak a specified line in a bubble, optionally with a fuzzy-matched expression image.

Instructions

让桌宠说一句指定的话(气泡),可选配一张表情包。(桌宠:dsh-pet 插件。它必须已经装在同一个 DSH 实例里且正在运行。) 返回 ok 表示已经写进气泡,不等于用户看见了。表情包名不用背,写几个字就行,会模糊匹配;匹配不到会把候选列出来,挑一个再调。

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": {
      "text": "<text>"
    },
    "name": "pet_say"
  }
}

Input Schema

NameRequiredDescriptionDefault
petNo可选宠物 id,省略则用默认那只
textYes要说的话,短一点,一句就好(超长会截断)
imageNo可选表情包名(模糊匹配配置里的 memes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does well: it warns that returning ok only means the text was written into the bubble, not that the user saw it, and it explains the fuzzy matching failure path. It leaves unstated what happens if the plugin is not running (error shape, silent no-op), which is the main remaining behavioral gap.

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?

The action and the optional image are front-loaded, and the prerequisite follows in a parenthetical. Return-value semantics and the fuzzy-match loop come last. Every clause is informative, and nothing is repeated from the schema, though the truncation hint is also in the schema text.

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 simple three-parameter side-effect tool with no output schema, this is close to complete: the caller learns the prerequisite, the meaning of ok, the truncation caveat, and the image-retry workflow. Only failure behavior when the pet is not running is left unspecified.

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

Parameters4/5

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

The schema coverage is 100%, so all three parameters are already documented. The description still adds real meaning for the image parameter: the name need not be memorized, fuzzy matching against the configured memes is used, and near-misses yield a candidate list. That goes beyond what the schema says.

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

Purpose5/5

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

The description gives a concrete verb and resource: make the desktop pet say a specified line in a speech bubble, with an optional meme image. That clearly distinguishes it from pet_anim (animations), pet_catalog (listing memes), and pet_status (state), so an agent would not confuse it with a sibling.

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?

There is a clear precondition (the dsh-pet plugin must already be installed in the same DSH instance and be running) and a useful retry loop: write a few characters for the meme name, and if nothing matches, pick from the returned candidates and call again. It never says when to prefer a sibling, but the tool's scope is narrow enough that this is not a serious gap.

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

Deploy Server

Other Tools