Skip to main content
Glama

Adjust the direction

update_direction
Idempotent

Changes a direction when the user wants it different. Pass only what changes, and/or a tweak in plain words ("warmer", "more playful", "lighter", "more luxurious"). Returns the new palette, type and tokens; compose sections again afterwards.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "direction_id": "<direction_id>"
    },
    "name": "update_direction"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoWhat the app is and does, in a sentence or two.
ctaNoThe call to action label.
moodNoHow it should feel, in the user's words: "calm and premium", "loud and sporty", "playful", "editorial"...
avoidNoThings the user does not want, for example "playful".
brandNoBrand or product name.
themeNoForce a dark or light theme. Leave out to let the mood decide.
tweakNoThe change in plain words.
colorsNoBrand colours as hex ("#ff5a1f") or names ("teal"), most important first. Leave out to let the designer choose.
sublineNoOne supporting sentence.
audienceNoWho it is for.
headlineNoThe main headline.
direction_idYesThe direction_id from create_direction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (non-read-only, idempotent, non-destructive), and the description adds real context beyond them: the return payload is a new palette, type and tokens, and the caller should recompose sections afterwards. The follow-up instruction is genuinely actionable and not derivable from structured fields.

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?

Three short sentences, front-loaded with purpose, then the input convention, then the return value and follow-up. The middle sentence ('Pass only what changes, and/or a tweak...') is slightly tangled but the whole thing is dense and free of filler.

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 12-parameter mutation tool with no output schema, the description does the important extra work: it names what comes back and what to do next. It leaves minor gaps, e.g. whether omitted fields are preserved (only implied by 'pass only what changes') and what happens on an invalid direction_id.

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?

Schema coverage is 100%, so parameters are self-documenting, but the description still adds meaning: 'pass only what changes' clarifies partial-update semantics, and the tweak parameter is illustrated with concrete plain-language examples ('warmer', 'more playful', 'lighter'). That is value beyond the schema rather than repetition of it.

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?

States a specific verb+resource ('Changes a direction') and scopes it to a user intent ('when the user wants it different'), which is enough to separate it from create_direction. It does not, however, distinguish itself from the near-synonymous siblings adjust_direction and set_direction, so an agent cannot confidently choose among the three from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a trigger condition ('when the user wants it different') and a useful workflow rule ('compose sections again afterwards'), plus the partial-update convention. But 'wants it different' is close to restating the name, and there is no guidance on when to prefer this over adjust_direction or set_direction.

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