Skip to main content
Glama
shinypebble

microsoft-ads-mcp

by shinypebble

update_structured_snippet_extension

Update a structured snippet extension's header or values, automatically preserving omitted fields by fetching current data.

Instructions

Update an existing structured snippet extension in place (edit its header or values).

Microsoft replaces the whole snippet on update, so the header and values are always required; when you omit either (e.g. to change only the values) this tool fetches the current extension and re-sends the other, so a partial update is safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
headerNoNew header from Microsoft's predefined list (omit to keep the current one).
valuesNoNew list of 3 to 10 values, max 25 chars each (omit to keep the current ones).
ad_extension_idYesThe structured snippet extension id (from get_ad_extensions).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
idsNo
messageYes
partial_errorsNo
Behavior4/5

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

The description discloses that the tool fetches the current extension when a parameter is omitted, enabling safe partial updates. This adds behavioral insight beyond the readOnlyHint annotation (false), which only indicates write operation.

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 concise sentences, front-loaded with purpose and followed by necessary behavioral context. No redundant information.

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?

Given the tool's complexity (update with partial support), the description covers all essential aspects: purpose, behavior, parameter handling, and safety. Output schema exists, so return details are not needed.

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?

With 100% schema coverage, parameters are well-documented. The description adds value by clarifying that 'header' and 'values' are always required conceptually but omitting them is safe due to automatic fetching.

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 updates an existing structured snippet extension with verb 'update' and specific resources 'header or values'. It is distinguished from sibling tools like 'add_structured_snippet_extension' and 'delete_ad_extension'.

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 explains the update behavior (Microsoft replaces whole snippet) and how the tool safely handles partial updates by fetching current values. This guides correct invocation but does not explicitly contrast with alternatives.

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/shinypebble/microsoft-ads-mcp'

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