Skip to main content
Glama

update_schema

Idempotent

Update an existing schema by replacing its name, description, or full schema data. For api_config, ensure endpoint.name matches tool_definition.name; for persona_config, use the editor_schema format.

Instructions

Atualiza um schema existente. Pode alterar nome, dados ou descrição. Para api_config: endpoint.name DEVE ser igual a tool_definition.name. Para persona_config: usar formato { editor_schema: { persona: { role, objective, ... } } }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNovo nome
schema_idYesUUID do schema a atualizar
descriptionNoNova descrição
schema_dataNoNovos dados do schema (mesma estrutura por tipo de create_schema). IMPORTANTE: enviar schema_data completo, não parcial — o objeto substitui o anterior por inteiro.
Install Server

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations (idempotent, non-destructive, read-write), the description discloses the critical behavioral trait that schema_data is an entire replacement ('substitui o anterior por inteiro'), warning against partial payloads. It also adds validation constraints that apply at write time (endpoint.name equals tool_definition.name for api_config). No contradiction with annotations exists; full replacement of data is distinct from destructive resource deletion.

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 text is three dense sentences: purpose, mutable fields, and type-specific format constraints. It is front-loaded and every clause contributes; no filler or repetition of annotation content.

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?

For a 4-param update with no output schema, the description covers the operation, replacement semantics, and per-type payload requirements, and points to create_schema for structure. It could be more explicit about when to choose update_schema over create/delete siblings, but the remaining inference is straightforward.

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?

All four parameters are already documented in the schema (100% coverage), so the baseline is 3. The description raises value by specifying the api_config equality requirement and the persona_config wrapper format, which are not derivable from the generic schema_data object type.

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 names the operation ('Atualiza') and the resource ('um schema existente') and enumerates the mutable fields: nome, dados, descrição. It does not explicitly name or contrast with create_schema/delete_schema, though 'existente' makes the core distinction from creation implicit.

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?

It clearly frames the tool for already-existing schemas and gives concrete payload-format guidance for api_config and persona_config, plus the full-replacement rule. It lacks an explicit when-not-to-use or alternatives statement, but the context is unambiguous enough for tool selection.

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

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/zihin-ai/zihin-mcp'

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