Skip to main content
Glama

Update Source

updateSource
Idempotent

Update Source

Update display name, slug, color, or sprite class for an existing review source. Sending a sprite while a custom icon image is set returns an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique numeric identifier for this review source.
nameYesDisplay name for this source. Accepts at most 30 characters.
slugNoURL-friendly identifier unique among sources in this project. Accepts at most 30 characters.
colorNoHex color badge for this source. Accepts. Accepts at most 30 characters.
spriteNoFont Awesome icon CSS classes for this source when no custom icon image is set. Font Awesome icon: two CSS class names as used with Font Awesome Web Fonts / classic CSS (not SVG/React props). Format is a style prefix (`fab`, `fad`, `fak`, `fal`, `far`, `fas`, or `fat`), one ASCII space, then an icon slug starting with `fa-` (lowercase letters and digits, hyphen-separated words). Examples: `fab fa-google`, `fas fa-star`. On write, omit, send null, or whitespace-only to clear. Font Awesome 6 semantic pairs such as `fa-solid fa-star` are not accepted; use `fas fa-star` instead. Accepts at most 50 characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoShort code or application-level status code for this resource.
dataNoReview source metadata.
successNoIndicates whether the request completed successfully.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already provide the safety profile (non-read-only, non-destructive, idempotent), so the description only needs to add unique behavioral context. It discloses a useful failure mode: sending a sprite while a custom icon image is set returns an error. This is valuable beyond both the annotations and the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is two sentences with the action front-loaded and the edge-case warning placed after. The repeated 'Update Source' heading is slightly redundant, but the overall description is lean and readable.

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 five-parameter mutation with a full output schema and annotations, the description covers the operation and a key error condition without restating schema details. It could add explicit partial-update semantics or permission requirements, but those are not critical given the schema coverage and annotation support.

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%, so the schema already documents id, name, slug, color, and sprite formats, constraints, and clearing behavior. The description's field list mirrors the schema but does not add meaningful parameter-level semantics beyond the error condition, which is more of a behavioral warning.

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 uses a clear verb–resource pair ('Update ... review source') and names the exact mutable fields: display name, slug, color, and sprite class. It does not explicitly contrast with createSource or updateReviewSource, but the field list and the word 'existing' make the tool's scope identifiable.

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 provides clear context by saying this is for an existing review source, which signals an update rather than a create or delete operation. It does not name alternative tools or explicitly state when not to use it, so it stops short of full routing guidance.

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.

Resources