Skip to main content
Glama

activate_rentahatch_booking

Manually mark a rental paid/active (pending_payment → active). SuperAdmin only. confirm:true.

Input Schema

NameRequiredDescriptionDefault
farmIdYes
confirmNo
bookingIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the write/non-idempotent/non-destructive profile, and the description adds genuinely new behavioral facts: the SuperAdmin authorization requirement and the confirm:true gate before execution. It still omits what else activation touches (e.g., whether a payment record is created) and what happens on failure.

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 telegraphic fragments, front-loaded with the action and state transition before the authorization and confirmation constraints. Nothing is padded, though the fragmentary style is minimal rather than well-structured prose.

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?

For a simple state-flip mutation with no output schema and only three flat parameters, the description covers the key constraints (admin-only, confirm). It is still thin on downstream effects of activation and says nothing about the two required ID parameters, which matters given 0% schema coverage.

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 carries the burden. It explains the non-obvious 'confirm' parameter (has to be true), which is real added value, but farmId and bookingId are left to the schema and inferred meaning. Partial compensation against a total coverage gap.

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?

The description names a specific verb and resource ('mark a rental paid/active') and pins down the exact state transition (pending_payment → active), so the effect is unambiguous. It does not, however, explicitly distinguish itself from the nearby sibling set_rentahatch_listing_active, leaving a small risk of confusion between booking vs listing activation.

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?

Usage context is clear: this is the 'manual' path to activation and is gated to SuperAdmin, which tells the agent when it is appropriate. No alternatives or when-not-to-use conditions are named, so it stops short of a full routing statement.

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.

Resources