Skip to main content
Glama

keystone_new_sensor

Scaffold a new sensor and its matching implementation. Choose computational mode for a shell script or inferential mode for a markdown prompt to define blocking rules.

Instructions

Scaffold a new sensor + its matching implementation.

Sensors are blocking rules. mode selects how the agent runs them:

  • computational (default) → stamps scripts/<name>.sh (shell). Agent runs via Bash; exit 0 = pass, non-zero = fail.

  • inferential → stamps prompts/<name>.md (markdown). Agent reads the prompt and performs the reasoning task it describes (e.g. code review, security review). Reports PASS / FAIL.

kind ∈ lint | type | test | build | drift | coverage | computational | domain | custom — informational category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNocustom
modeNocomputational
nameYes
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses what files are stamped (`scripts/<name>.sh` or `prompts/<name>.md`), exit code semantics (0 = pass, non-zero = fail), and PASS/FAIL reporting for inferential mode. This gives the agent a solid behavioral model, though it omits details about `force` behavior.

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 description is appropriately sized, front-loaded with the core purpose, and uses bullet lists for modes and kind values. Every sentence adds value and the structure makes the information quickly scannable for an agent.

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?

Given the existence of an output schema (which likely documents return values) and the moderate complexity of a scaffolding tool, the description covers the essential behavioral aspects: what gets created, how it runs, and how it reports. It could be more complete by explaining `force` semantics or prerequisites, but overall it's sufficient.

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 0%, so the description must compensate. It thoroughly explains `mode` (computational vs inferential with full semantics) and enumerates valid `kind` values, adding meaning beyond the schema. However, `force` is not described at all, and `name` is left implicit, leaving a coverage gap for two of four parameters.

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 opens with a clear, specific verb+resource: 'Scaffold a new sensor + its matching implementation.' It further differentiates from siblings by detailing the sensor-specific artifact types (scripts vs prompts) and execution model, making the tool's purpose unmistakable.

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?

The description provides clear context on when to use each mode (computational for shell scripts, inferential for reasoning prompts) and explains kind as an informational category. It does not explicitly exclude alternatives or reference sibling tools, but the mode selection guidance is actionable and sufficient for an agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tacoda/keystone-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server