Skip to main content
Glama

Add or rename one teacher

save_teacher

Add a teacher, or rename one (give its id); every other teacher stays. Use the business's own spelling, exactly as it writes it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_teacher"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe teacher to rename; leave out to add one.
nameNoUp to 80 characters.
sort_orderNoIts place in lists (0 to 10000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered; the description adds real value with the non-bulk guarantee ("every other teacher stays") and a domain naming convention ("use the business's own spelling, exactly as it writes it"). It omits what happens on duplicate names or invalid input, which keeps it from a 5.

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 sentences, front-loaded with the action and the mode switch, then the naming convention. No filler and nothing buried.

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?

There is no output schema, and the description never says what comes back — notably whether the new teacher's id is returned for later calls. For a create/rename tool with all-optional parameters, that is a meaningful gap, though the mutation semantics themselves are adequately covered.

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 the baseline is 3, and the description still adds meaning: it explains that id selects rename-versus-add behavior and constrains the name value to the business's own spelling. sort_order is left entirely to the schema, but nothing is missing.

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

Purpose5/5

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

States a specific verb and resource ("Add a teacher, or rename one") plus the discriminator for the two modes ("give its id"). This clearly separates it from siblings like save_staff_member, save_class, remove_teacher and list_teachers without opening any schema.

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?

Gives explicit mode selection: supply id to rename, leave it out to add. The scoping note "every other teacher stays" tells the agent this is a single-record, non-bulk operation. It stops short of naming alternatives such as remove_teacher or list_teachers, so it is clear but not fully routing.

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