Skip to main content
Glama
Moe03

Convocore MCP Server

by Moe03

update_agent_custom_css

Destructive

Replace an agent's customCSS field to style its chat widget. Pass the full merged CSS (existing plus new rules) or an empty string to clear all custom styles.

Instructions

Overwrite the agent's customCSS field with new CSS that styles the chat widget. IMPORTANT: this REPLACES the existing customCSS value — always pass the FULL merged CSS (existing + your new rules), not just the delta. Workflow: (1) call get_widget_css_styling_guide to load selectors + rules, (2) optionally call get_agent_custom_css to read what's already there, (3) generate the merged CSS following the guide, (4) call this tool to persist. Pass an empty string to clear all customCSS for the agent.

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe agent ID whose customCSS field you want to overwrite
customCSSYesThe full CSS to write to the agent.customCSS field. REPLACES the existing value entirely. Use an empty string to clear.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.17

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds the critical non-obvious semantics: the field is fully replaced, so callers must send merged CSS, and an empty string clears the value. This is exactly the kind of context annotations cannot convey.

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?

Front-loads the replacement warning before the workflow, then closes with the edge case. Dense but every sentence carries actionable information with no filler.

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

Completeness5/5

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

For a 2-parameter mutation with no output schema, the description covers prerequisites, ordering, merge semantics, and the clearing case. Nothing an agent needs to call it correctly is missing.

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% and both parameters already document replacement and clearing behavior. The description reinforces the same points but adds no format/syntax detail beyond the schema, so baseline 3 applies.

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?

States a specific verb (overwrite) and resource (agent's customCSS field) plus the downstream effect (styles the chat widget). Clearly distinguishable from sibling get_agent_custom_css, which reads rather than replaces.

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?

Gives an explicit 4-step workflow, names the prerequisite tools (get_widget_css_styling_guide, get_agent_custom_css), and states the exact condition for the empty-string case. Alternatives and ordering are spelled out rather than implied.

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