Skip to main content
Glama

Project preset

grok_agent_project
Idempotent

Read or set a project's Grok preset (off, cheap, standard, max) to enable delegation. Use before job tools when PROJECT_NOT_ENABLED occurs.

Instructions

Read or set this project's Grok preset (.grok-mcp.json): off, cheap, standard, max. Use first when a job tool returns PROJECT_NOT_ENABLED. Without preset it reports; with preset it writes the file.

Input Schema

NameRequiredDescriptionDefault
noteNo
presetNo
project_rootYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations mark it non-readOnly, idempotent, non-destructive, closed-world. The description adds valuable detail beyond that: it writes a file (.grok-mcp.json) only when a preset is supplied, otherwise it's a read. This dual mode is not derivable from the idempotent/non-destructive hints. Minor gap: doesn't say which permissions or whether it errors on missing file.

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?

Three tight sentences, front-loaded with the operation and value domain. No wasted words, but the telegraphic style ('it reports/writes') is slightly terse for an agent needing precision.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, 3 params with 0% schema coverage, so the description carries responsibility. It covers the core read/write semantics and trigger condition but omits what 'reports' returns and what 'project_root'/'note' do, leaving gaps an agent might need. Just adequate.

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, but it only names the enum values (off/cheap/standard/max) implicitly via 'preset' and never explains 'project_root' or 'note'. Baseline of 3 is appropriate since the enum is the key semantic and the description implies its role, but the two undocumented non-enum params remain unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific dual-purpose operation (read or set the project's Grok preset) named after the config file it manages. The name 'grok_agent_project' is generic, but the description clarifies the resource is the '.grok-mcp.json' preset. Distinguishable from siblings like grok_agent_status/economy, though not explicitly compared.

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?

Explicit triggering condition: 'Use first when a job tool returns PROJECT_NOT_ENABLED,' which is strong actionable guidance. Also clarifies the read-vs-write behavior: 'Without preset it reports; with preset it writes.' No explicit exclusions of alternatives named, but the context is clear.

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