Skip to main content
Glama

pet_anim

Plays an animation on a running dsh-pet desktop pet by fuzzy-matching a short animation name; returns candidate names when the match is ambiguous or missing so you can choose one and retry.

Instructions

让桌宠播一个动画。(桌宠:dsh-pet 插件。它必须已经装在同一个 DSH 实例里且正在运行。) 动画名是素材文件名,写几个字(如「吃白饭」「跳舞」「吐泡泡」)会自动匹配;匹配到多个或匹配不到时会返回候选名单,挑一个再调一次。

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

Input Schema

NameRequiredDescriptionDefault
petNo可选宠物 id
nameYes动画名,可只写几个字(模糊匹配)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 does well: it discloses fuzzy matching on material file names, the candidate-list return on zero or multiple matches, and the same-instance/plugin-running precondition. It does not state what happens if the plugin is absent or not running (error vs. empty result), 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.

Conciseness4/5

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

The action is front-loaded in the first sentence, the precondition is bracketed as a parenthetical, and the matching/retry rule follows in one clause. Dense but every part earns its place; no filler.

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 two-parameter action tool with no annotations and no output schema, the description covers the essential call-and-retry loop and the environmental precondition. The only shortfall is failure behavior when the plugin is not running, and the missing cross-reference to pet_catalog for name discovery.

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?

Schema coverage is 100%, so the baseline is 3; the description goes beyond it by explaining that 'name' is a material file name and that a few characters are sufficient for fuzzy matching, backed by concrete examples. The optional 'pet' parameter is left to the schema, which already documents it as an optional pet id.

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 states a specific verb and resource: make the desktop pet play an animation, with the pet identified as the dsh-pet plugin. It is clearly distinguishable from pet_say, pet_status, and pet_catalog by virtue of playing an animation, though it never names those siblings explicitly.

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?

It gives a real prerequisite (the dsh-pet plugin must already be installed and running in the same DSH instance) and a retry rule: if the match is ambiguous or empty, pick from the returned candidate list and call again. What is missing is an explicit pointer to pet_catalog for discovering animation names before calling.

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