Skip to main content
Glama

avito_replace_text

Replace one exact text fragment in an Avito description field or editor using a snapshot ref; set replace="" to delete it and drop_empty_line=true to remove the emptied line.

Instructions

Заменяет один точный фрагмент текста в поле или редакторе описания (ref из snapshot), не трогая остальное. replace="" удаляет фрагмент; drop_empty_line=true затем убирает опустевшую строку.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
findYes
replaceYes
drop_empty_lineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses two edge cases – replace="" deletes the fragment and drop_empty_line=true removes the emptied line – but omits what happens when 'find' matches nothing (error vs no-op) and whether the target must be focused/active.

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?

Two tight sentences with no filler; the core replacement behavior is front-loaded, followed immediately by the edge-case semantics.

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 a mutation tool with no annotations and no output schema, the description covers the operation and parameter edge cases but leaves out failure behavior (no match found) and interaction prerequisites (focus/click), which an agent would need to invoke it reliably.

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?

Despite 0% schema description coverage, the description effectively covers all four parameters: ref is tied to a snapshot, find is the exact fragment, replace documents the empty-string deletion case, and drop_empty_line documents its effect. Only finer details like occurrence matching are left unstated.

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: it replaces one exact text fragment in a field or description editor, explicitly noting it does not touch the rest of the text. This implicitly distinguishes it from the typing-oriented sibling avito_type, though no sibling is named directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the semantics ('one exact fragment... without touching the rest'), but there is no explicit when-to-use guidance or exclusion versus the closest sibling avito_type, nor any stated precondition such as the field needing focus.

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