Skip to main content
Glama

AI 合规改写

fix_text

Rewrite text flagged by compliance checks into a compliant version. Provide a check ID from a prior check to trigger AI rewriting that avoids detected risks.

Instructions

对一次已完成的文案检测触发 AI 改写,产出规避了命中风险的合规版本。需要先用 check_text 拿到检测 id。会扣除修复积分。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo改写语气:content=内容创作;ad=广告投放(更克制,规避广告法风险)。content
checkIdYescheck_text 返回的检测 id。
strategyNorewrite=整篇重写(读起来更自然);precise=逐条精准替换(改动最小,保留原文结构)。rewrite
waitSecondsNo最多等待多少秒。
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the rewrite action, the dependency on a prior detection, and the credit deduction side effect. It does not cover reversibility or detailed return format, but the key behavioral traits are exposed.

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 description is two short sentences, front-loaded with the main action, and every sentence adds value: purpose, prerequisite, and consequence. No filler or redundancy.

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?

The description explains the required workflow (must have check id, costs credits) and implies the return of a compliant version, which is sufficient given no output schema. It is complete for the main use case, though it omits edge cases like invalid checkId handling.

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 baseline is 3. The description's mention of using check_text adds no new information beyond the schema's checkId description. Mode, strategy, and waitSeconds are fully documented in the schema.

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 clearly states the tool triggers an AI rewrite for a completed text detection, producing a compliant version. It distinguishes itself from sibling tools by explicitly requiring a prior check_id from check_text, making its specific role obvious.

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 description explicitly states the prerequisite of using check_text first, providing clear context for when to use the tool. However, it does not mention alternative tools or when-not-to-use conditions beyond the implicit credit cost, 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ewangzai/byerisk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server