Skip to main content
Glama

GoldCoach

Playlist Policy Infer

playlist_policy_infer

Save a basic policy for one school from the server's own inference, with no AI. Give unitid. It saves one award rule for each award title the server can infer a minimum for (from the school's programs' published credits, or else from the award's level: 60 for an associate degree, 120 for a bachelor's degree), each with inferred_min_credits and inferred_basis and no quote, and no designations. The policy's source is inferred, its trust state unverified, and its built_by names inference. It never replaces a policy in use that was built from the school's own pages: it then refuses, says so, and points to a rebuild. Where no award title has an inference it says so and saves nothing. The answer gives the saved policy, its policy_id, status, trust_state and source, and awards: each award title with its programs, their published credits, and what was inferred.

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": {
      "unitid": "<unitid>"
    },
    "name": "playlist_policy_infer"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitidYesThe school, by its IPEDS UNITID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Behavior well beyond the annotations is disclosed: what each saved award rule contains (inferred_min_credits, inferred_basis, no quote, no designations), the trust_state and source assigned, the refusal to overwrite an in-use page-built policy with a pointer to a rebuild, and the no-inference case that saves nothing. This is consistent with destructiveHint=false and readOnlyHint=false while adding meaning they cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key action is front-loaded in the first clause, but the rest is a dense run-on paragraph mixing save semantics, inference rules, refusal behavior, and return shape. All of it is relevant, yet it would be far easier to act on if split into short structured statements.

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

Completeness5/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 compensates by describing the response (policy, policy_id, status, trust_state, source, and per-award program credits and inference). Failure and empty-result paths are also covered, leaving nothing essential for a correct call unstated.

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?

Schema coverage is 100% and there is a single required parameter with an example and IPEDS label, so the schema does the documentation work. The description only restates 'Give unitid' and adds no format or constraint information beyond it.

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?

The description states a specific verb and resource — saves a basic policy for one school — and immediately pins down the source (the server's own inference, no AI). It also distinguishes this from a page-derived policy save by noting it never replaces a policy built from the school's own pages, so an agent can tell which save path it is choosing.

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?

Usage is implied rather than stated: an agent can infer this is the fallback when no AI-derived policy exists and only a minimal award-rule policy is wanted. The refusal case is described, but there is no explicit 'use this instead of playlist_policy_save when...' routing against the numerous sibling policy tools.

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.