Skip to main content
Glama
customaise

customaise

Official

get_script_decisions

Read-onlyIdempotent

Reads script decisions and provider readiness on this device—agent access, plan, device status, saved keys, question-list hashes, and issues—so you can verify settings before changing decisions.

Instructions

Read Script Decisions on this device: the typed decisions scripts make through @grant CM_decisions. Returns whether agents may manage it (agentAccess.scriptDecisions; the person turns it on under Full access in Customaise Settings, Agent permissions), sign-in and plan (Power User is required), whether this device is allowed (deviceEnabled) or paused (locallyPaused), which provider keys are saved, and every script that uses CM_decisions or has a provider: its provider (jev, openai-decisions, gemini-decisions or null), supported (the providers that can answer at least one of its question lists; choose among these) and state, one of ready, off, choose_again (its code or this device changed since the provider was chosen; reason says which), paused (pausedReason loop_repeat or loop_runaway) or invalid (issue). chosenByAgent marks a provider an agent chose. With scriptId it also returns that script's question lists (sets: hash, enabled, questions, and providers, the ones that answer that list; under another provider it stays Off), the problems found in its code (issues, with line numbers) and today's decisions on this device (rowsToday). Use it before set_script_decisions, which names question lists by these hashes, and after export_script to check a script's provider. Reads only; nothing is sent to a provider. Needs extension 1.4.0 or later.

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": "get_script_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptIdNoA script ID from list_scripts. Omit to list every script that uses CM_decisions or has a provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.2.9

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds substantive behavior the annotations cannot: the extension version prerequisite (1.4.0+), the Power User plan requirement, and the fact that the person must enable agentAccess.scriptDecisions under Full access in settings. It also discloses that reads never reach a provider and explains how paused/disabled device states affect the result.

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?

Purpose is front-loaded, but the body is a single dense run-on paragraph mixing provider names, state enumerations, and gating rules. Nearly all content is relevant, yet the lack of sentence breaks and the pile-up of internal identifiers make it harder to parse than it needs to be.

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?

With no output schema, the description carries the full burden of explaining return values and does so thoroughly: agent access, plan, deviceEnabled, locallyPaused, provider keys, per-script provider/supported/state, chosenByAgent, question lists, issues, and rowsToday. It stops short of describing formats or sizes for collections like rowsToday and provider keys, and says nothing about pagination for the multi-script listing.

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?

The single parameter is fully documented in the schema, but the description adds real value by saying what changes in the response when scriptId is supplied: the script's question lists with hashes, code issues with line numbers, and today's decisions. That output-shaping effect is not visible from the schema alone, though the schema already explains the omit behavior.

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?

Opens with a specific verb and resource ('Read Script Decisions on this device') and immediately scopes what that means ('the typed decisions scripts make through @grant CM_decisions'). It distinguishes itself from siblings by naming both set_script_decisions and export_script, so an agent can place it 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 workflow placement: call it before set_script_decisions, which references the question-list hashes returned here, and after export_script to check a provider. It also warns 'Reads only; nothing is sent to a provider.' No when-not-to-use case is stated, which keeps it 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.