Skip to main content
Glama

adapt_prompt

Read-onlyIdempotent

Add documented host guidance to an existing instruction when switching agent environments, keeping the original task scope unchanged.

Instructions

Add documented host guidance to an already good instruction. Use when changing agent environments; not for expanding task scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
audienceNoauto
targetAgentYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
irYes
changesYes
contextYes
metadataYes
confidenceYes
assumptionsYes
diagnosticsYes
skippedPassesYes
tokenEstimateYes
detectedIntentYes
selectedPassesYes
optimizedPromptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful boundary that scope is not expanded, but says nothing about what the tool actually rewrites or how the original prompt is preserved.

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?

Two short, front-loaded sentences with zero filler; the core action leads and the exclusion follows. Nothing to trim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, but the tool transforms a user-supplied prompt using two enum parameters that are undocumented in both the schema and the description. That leaves an agent unable to judge how to pick targetAgent or audience.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description mentions none of the three parameters (prompt, targetAgent, audience). With two enum-constrained params and no schema prose, the description needed to compensate for choosing a target agent/audience and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (add) and object (documented host guidance to an existing instruction), which is more than a tautology, but 'host guidance' is undefined jargon and no sibling is named. It only partially differentiates from the cluster of prompt tools (optimize_prompt, build_agent_instruction, etc.).

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 gives an explicit trigger ('use when changing agent environments') and an explicit exclusion ('not for expanding task scope'). No alternative sibling is named, but the when/when-not framing is unusually clear for this set.

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