Skip to main content
Glama

Request substitute

request_substitute

Open a substitution request for a class session (e.g. the instructor called in sick). Optionally note the required_specialty the sub must hold.

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": {
      "class_session_id": "<class_session_id>"
    },
    "name": "request_substitute"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
class_session_idYes
required_specialtyNo
original_instructor_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-idempotent, non-destructive mutation. The description adds useful context that it opens a request rather than performing an assignment, but it does not explain the request lifecycle, duplicate-call behavior, or whether additional approval is needed.

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?

The definition is a single front-loaded sentence with a useful parenthetical example. Every part earns its place, and there is no unnecessary wording.

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?

For a create-style mutation with four parameters and no output schema, the description is too thin. It should at least clarify what reason and original_instructor_id are for and what kind of request is created, but it covers only one optional parameter.

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%, so the description carries the full burden, yet it only explains required_specialty as an optional note. It leaves reason and original_instructor_id undefined and gives no format or constraint details for class_session_id.

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 states a specific verb and resource: opening a substitution request for a class session, with a clear illness example. It distinguishes the action from actually assigning a substitute, but does not explicitly differentiate it from siblings such as assign_substitute or create_request.

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 one implied use case (instructor called in sick) but does not state when to use this tool versus assign_substitute, create_request, or reply_request. The optional specialty note is helpful but does not provide selection 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