Skip to main content
Glama

Check a preference exists

has_preference
Read-onlyIdempotent

Checks whether a Premiere Pro preference key exists and reports if it is read-only without returning its value; use get_preference to retrieve the value.

Instructions

Check whether a Premiere Pro preference key exists, and whether it is read-only, without returning its value. Returns key, exists and read_only. Use get_preference for the value.

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": {
      "key": "<key>"
    },
    "name": "has_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesPreference key exactly as Premiere Pro stores it, e.g. "BE.Prefs.AutoSave.Interval" or "BE.Prefs.StillImages.DurationInSeconds". Keys are case-sensitive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it never returns the stored value, and it does return key, exists and read_only — important for an agent deciding whether a follow-up get_preference call is needed. No info on error behavior for unknown keys, 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 sentences, front-loaded with the primary function, then the return shape, then the alternative. Nothing is repeated from the schema or annotations and no sentence is disposable.

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?

The tool is deliberately narrow (one param, read-only check) and there is no output schema, yet the description names the returned fields, so an agent knows exactly what it gets back. Nothing needed to call it correctly is missing.

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 description coverage is 100% and the single 'key' parameter is already documented with format examples and a case-sensitivity warning. The description adds no meaning about the key beyond the schema, so the baseline of 3 applies.

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 ('Check whether a Premiere Pro preference key exists') and narrows scope with 'and whether it is read-only, without returning its value.' This explicitly distinguishes it from get_preference, so an agent can pick correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence routes the agent to the alternative by name ('Use get_preference for the value'), which is the only realistic competing tool for the same resource. The implicit when-not for this tool (don't use it if you need the actual value) is made explicit by that sentence.

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

Deploy Server

Other Tools