Skip to main content
Glama
haandol
by haandol

ingest_modify_component

Ingests a single-component edit: validates, applies to one element, saves, renders, and returns the slide HTML path for sharing.

Instructions

Ingests a single-component edit: validate, apply to exactly one element, save, render.

Call AFTER a prepare_modify_component that returned stage="modify".

Args: project_id: Target project ID (required). slide_index: 1-based slide position. component_id: Target component id (same as prepare). modify_json: The ComponentModify JSON generated by the client. color_theme: Color theme ("dark" or "light").

Returns: JSON with modified_element, slide_html_path, optional lint.

After this call, share the returned slide_html_path with the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
color_themeNodark
modify_jsonYes
slide_indexYes
component_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It describes the process (validate, apply, save, render) and mentions returns (modified_element, slide_html_path, optional lint). It does not disclose destructive potential or auth needs, but for a mutation tool, it gives reasonable transparency.

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?

Description is very concise, with clear front-loading of purpose, a prerequisite note, argument list, return values, and a post-call instruction. No unnecessary words, well-structured.

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?

Given the tool has 5 parameters (4 required), no enums, and an output schema, the description covers the essential workflow, arguments, and returns. It mentions the output schema fields and provides the critical instruction to share slide_html_path. Minor omissions: no error handling or edge cases, but overall adequate for this complexity.

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 coverage is 0%, so description must compensate. It lists parameters with basic explanations: project_id, slide_index, component_id, modify_json, color_theme. For modify_json, it specifies 'generated by the client' and for color_theme, provides allowed values ('dark' or 'light'). However, further details like modify_json format or constraints are missing, so it adds some but not comprehensive semantics.

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 clearly states it ingests a single-component edit with validate, apply, save, render steps. It specifies it works on exactly one element, distinguishing it from batch edits. However, it does not explicitly differentiate from sibling tools like ingest_slide_edit, but the prerequisite reference helps.

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?

Explicitly states 'Call AFTER a prepare_modify_component that returned stage="modify"', providing clear prerequisite. Lacks when-not-to-use or alternatives, but the context is well-defined.

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/haandol/ppt-generator'

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