Skip to main content
Glama

set_campus_status

Set whether the user is on or near Purdue campus, enabling the assistant to suggest dining options only when appropriate and pause proactive suggestions while away.

Instructions

Toggle whether the user is currently on/near Purdue campus.

Use this when someone says "I'm leaving campus", "going on break",
"I'm back at Purdue", etc. When off-campus, the assistant won't
proactively suggest dining tools.

Args:
    on_campus: True if at/near Purdue, False if away (vacation, break, etc.)

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": {
      "on_campus": "<on_campus>"
    },
    "name": "set_campus_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
on_campusYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose a real downstream behavior: when off-campus the assistant won't proactively suggest dining tools. That is genuinely beyond what the schema reveals. It does not mention persistence, idempotency, or whether the state is per-user session or durable.

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?

Front-loaded statement of purpose followed by usage triggers and an Args block — efficient and easy to scan. The Args section partially restates the opening line, a minor redundancy, but the example phrasings earn their space.

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 one-parameter boolean setter with an output schema available, the definition covers purpose, triggers, and the key side effect on dining suggestions. Only minor gaps remain (state durability, whether repeat calls are safe), which are low-risk for a boolean toggle.

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 description coverage is 0%, so the description must define the single parameter, and it does: True means at/near Purdue, False means away, with 'vacation, break, etc.' clarifying the away case. That adds real semantic meaning beyond a bare boolean, though the boundary of 'near' campus is left undefined.

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 pair: it sets whether the user is on/near Purdue campus. That is clearly distinguishable from every listed sibling (preferences, menu, meal logging, open-hours queries), none of which maintain a location/availability state.

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 concrete trigger utterances ('I'm leaving campus', 'going on break', 'I'm back at Purdue'), which is strong when-to-use guidance. It stops short of explicit when-not guidance or naming an alternative tool for other status questions, so it falls just short of a 5.

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