Skip to main content
Glama

save_content_rules

Save versioned account creation rules. Creator+ plans can save account rules. Read and merge the complete rules before saving with expected_version; omitted legacy fields are replaced. 先读取合并完整规则,携带版本保存。

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

Input Schema

NameRequiredDescriptionDefault
rulesYes
project_keyNo
expected_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the subscription requirement, the optimistic-concurrency requirement via expected_version, and the important destructive trait that 'omitted legacy fields are replaced' — i.e. omission can drop data. It stops short of describing what happens on a version mismatch or what the response contains, which matters for a mutation tool with no output schema.

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

Conciseness3/5

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

The English sentences are front-loaded and information-dense, but the trailing Chinese sentence duplicates the read-merge-save instruction verbatim rather than adding new constraints. For a short description, repeating the same rule in a second language consumes space that could have covered project_key or conflict behavior.

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

Completeness3/5

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

For an unusually complex nested schema with no annotations and no output schema, the description covers the essentials — plan gating, read-merge-before-save, version token, omission semantics. It is still incomplete on project scoping (project_key), version-conflict outcomes, and whether the returned version should be used in the next save.

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?

Reported schema description coverage is 0% at the top level, and the rules object is heavily nested with additionalProperties:false, so the description's explanation that expected_version is a version token and that rules must be the fully merged object adds real meaning. However, project_key is never explained, and the description gives no guidance on how to construct the many nested sub-objects such as shop_profile or style_profile.

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 opens with a specific verb+resource pair, 'Save versioned account creation rules', which immediately tells an agent this is a write operation on a versioned rules object. It does not name the read counterpart get_content_rules even though the workflow clearly depends on it, so sibling differentiation is only implicit.

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 concrete precondition ('Read and merge the complete rules before saving with expected_version') that defines the correct call sequence, plus a plan gate (Creator+ plans can save account rules). What it lacks is an explicit pointer to get_content_rules as the tool to perform that read, leaving the agent to infer the sibling.

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