Skip to main content
Glama

Modifică un articol

update_article
DestructiveIdempotent

Schimbă titlul, conținutul sau metadatele unei ciorne. Trimite doar câmpurile care se schimbă.

Use when changing the title, content or SEO fields of an existing draft. Do not use when creating a new article: use create_article.

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

Input Schema

NameRequiredDescriptionDefault
tagsNoCel mult 3 etichete; înlocuiesc lista veche.
titleNoTitlul nou. Lipsă = rămâne cel vechi.
excerptNoRezumatul articolului.
seoTitleNoTitlul SEO (eticheta title), ideal sub 60 de caractere.
articleIdYesArticolul, din list_articles sau create_article.
contentHtmlNoCorpul nou, HTML curat (p, h2, h3, ul, a, strong, em, img); înlocuiește conținutul vechi.
focusKeywordNoCuvântul-cheie principal al articolului. Ex.: implant dentar Cluj
metaDescriptionNoMeta descrierea, ideal 140–160 de caractere, încheiată cu punct.
featuredImageUrlNoImaginea principală, adresă publică https.

Output Schema

NameRequiredDescriptionDefault
idNostring
titleNostring
statusNostring
versionNonumber. Incremented on each change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / articleId / description
      Previous value: -"Id-ul articolului (UUID), din list_articles sau create_article."New value: +"Articolul, din list_articles sau create_article."
    • removedInput schema / properties / articleId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedInput schema / properties / excerpt / description
      Previous value: -"Rezumatul articolului, cel mult 1.000 de caractere."New value: +"Rezumatul articolului."
    • changedInput schema / properties / metaDescription / description
      Previous value: -"Meta descrierea pentru motoarele de căutare, cel mult 320 de caractere (ideal 140–160), încheiată cu punct."New value: +"Meta descrierea, ideal 140–160 de caractere, încheiată cu punct."
    • changedInput schema / properties / seoTitle / description
      Previous value: -"Titlul SEO (eticheta title), cel mult 200 de caractere (ideal sub 60)."New value: +"Titlul SEO (eticheta title), ideal sub 60 de caractere."
    • changedInput schema / properties / title / description
      Previous value: -"Titlul nou, 3–300 de caractere. Lipsă = rămâne cel vechi."New value: +"Titlul nou. Lipsă = rămâne cel vechi."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "id": {
      +      "description": "string"
      +    },
      +    "status": {
      +      "description": "string"
      +    },
      +    "title": {
      +      "description": "string"
      +    },
      +    "version": {
      +      "description": "number. Incremented on each change."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • addedInput schema / properties / articleId / description
      Added value: +"Id-ul articolului (UUID), din list_articles sau create_article."
    • addedInput schema / properties / contentHtml / description
      Added value: +"Corpul nou, HTML curat (p, h2, h3, ul, a, strong, em, img); înlocuiește conținutul vechi."
    • addedInput schema / properties / excerpt / description
      Added value: +"Rezumatul articolului, cel mult 1.000 de caractere."
    • addedInput schema / properties / featuredImageUrl / description
      Added value: +"Imaginea principală, adresă publică https."
    • addedInput schema / properties / focusKeyword / description
      Added value: +"Cuvântul-cheie principal al articolului. Ex.: implant dentar Cluj"
    • addedInput schema / properties / metaDescription / description
      Added value: +"Meta descrierea pentru motoarele de căutare, cel mult 320 de caractere (ideal 140–160), încheiată cu punct."
    • addedInput schema / properties / seoTitle / description
      Added value: +"Titlul SEO (eticheta title), cel mult 200 de caractere (ideal sub 60)."
    • addedInput schema / properties / tags / description
      Added value: +"Cel mult 3 etichete; înlocuiesc lista veche."
    • addedInput schema / properties / title / description
      Added value: +"Titlul nou, 3–300 de caractere. Lipsă = rămâne cel vechi."
  3. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / articleId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  4. Changed1 schema field changed
    • addedInput schema / properties / tags
      Added value: +{
      +  "items": {
      +    "maxLength": 60,
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false. On top of that, the description adds patch semantics ("Trimite doar câmpurile care se schimbă"), telling the agent that omitted fields are preserved rather than cleared. It does not say whether replaced content or tags are recoverable or what permissions are required, but with annotations covering safety, that is a minor gap.

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 text is short and front-loaded with purpose and then usage boundaries in a sensible order. However, it effectively says everything twice: once in Romanian and once in English, with no information gain in the second pass. Because of this duplication, it wastes roughly half its length.

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?

A full output schema, nine fully documented parameters and a complete annotation set mean that the description does not have to explain return values, formats or the safety profile. What remains, namely the purpose, the create-versus-update boundary and the patch behavior, is present. Only minor details such as permission requirements or how destructive overwrites behave are absent.

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?

The schema description coverage is 100%, so every one of the nine parameters already carries its own constraint and replacement semantics (for example, tags replace the old list, and contentHtml replaces the old body). The description adds only the general send-only-changed-fields rule, so it adds little meaning beyond what the structured schema already provides. This makes the baseline score of 3 the correct choice.

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 gives a specific verb plus resource plus field scope: "Schimbă titlul, conținutul sau metadatele unei ciorne". This makes it clear this is a mutation of an existing draft, and it explicitly points to create_article so the agent can tell them apart. The only thing that holds it back from a 5 is that the Romanian sentence and the English sentence restate the same purpose, without adding a fuller enumeration of the editable fields.

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

Usage Guidelines5/5

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

The usage guidance is explicit in both directions: "Use when changing the title, content or SEO fields of an existing draft" states when this tool applies, while "Do not use when creating a new article: use create_article" names the alternative tool and the condition that should select it instead. It also instructs the agent to send only the fields that are changing, which is actionable guidance and not just context.

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.