Skip to main content
Glama

set_instruction

Make a column an AI column, change its instruction, or turn it back into a plain column with an empty one. The instruction says what to work out for each row and names other columns in braces, like "Classify {Pitch} by genre". Its values never overwrite what a person typed, linked or quoted. Needs proof to be optional and a token.

Input Schema

NameRequiredDescriptionDefault
slugYes
columnYesThe column's id or label
choicesNoFor a text column, the only answers it takes
instructionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare this is a non-read-only, non-destructive mutation, and the description adds useful behavioral context: AI values never overwrite what a person typed, linked, or quoted, and a token is required. The ambiguous phrase “needs proof to be optional” weakens the disclosure, but the key safety behavior is present and consistent with the annotations.

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 description is front-loaded with the core action and instruction format, with no wasted exposition. The final sentence about proof and a token is somewhat opaque and slightly disrupts an otherwise clear structure.

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

Completeness3/5

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

For a mutation tool with annotations and no output schema, the description covers the central instruction-setting behavior and human-data preservation. It omits important details such as whether changing the instruction recalculates existing cells, how choices interact with instructions, and what role slug plays.

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?

The description adds valuable meaning for the instruction parameter, including the brace syntax and an example like “Classify {Pitch} by genre.” However, it does not explain slug at all, and choices is left entirely to the schema despite only 50% schema description coverage.

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 the specific action: configuring a column as an AI column, changing its instruction, or reverting it to a plain column. It is easy to distinguish from fill_ai_cells because it sets the instruction that governs future AI work rather than filling cells, though it does not explicitly name that sibling.

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?

The description implies when to use the tool by describing the three modes of setting an instruction, but it never explicitly routes the agent away from alternatives such as fill_ai_cells or next_ai_cells. The phrase about needing a token is present, but the usage conditions remain only partially stated.

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.