Skip to main content
Glama

Get Hook Guidance

get_guidance
Read-onlyIdempotent

For Venom Full's hooks only; agents don't call it.

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": {
      "event": "<event>"
    },
    "name": "get_guidance"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoPostToolUse after a file write: the saved path.
toolNoPostToolUse: the tool that ran.
eventYesThe hook event.
sourceNoSessionStart: startup, resume, clear or compact.
commandNoPostToolUse: the shell command that ran.
session_idNoThe host's session ID.
tool_responseNoPostToolUse after a Venom log write: its result.
plugin_versionNoThe Venom Full version, such as 0.17.0.
stop_hook_activeNoStop: true when a Stop hook already continued this turn.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / command / description
      Previous value: -"PostToolUse only: the shell command the tool ran, as text or as its argument list."New value: +"PostToolUse: the shell command that ran."
    • changedInput schema / properties / event / description
      Previous value: -"Which lifecycle moment the host is reporting, so Venom picks the matching guidance."New value: +"The hook event."
    • changedInput schema / properties / file / description
      Previous value: -"PostToolUse after a file-writing tool: the path of the file it saved."New value: +"PostToolUse after a file write: the saved path."
    • changedInput schema / properties / plugin_version / description
      Previous value: -"The Venom Full version the hook belongs to, such as 0.17.0, so Venom can say when it's out of date."New value: +"The Venom Full version, such as 0.17.0."
    • changedInput schema / properties / session_id / description
      Previous value: -"The host's session ID, so guidance follows the session."New value: +"The host's session ID."
    • changedInput schema / properties / source / description
      Previous value: -"For SessionStart: why the session started, as the host reports it, such as startup, resume, clear or compact."New value: +"SessionStart: startup, resume, clear or compact."
    • changedInput schema / properties / stop_hook_active / description
      Previous value: -"For Stop: true (or the text \"true\" or \"1\") when a Stop hook already continued this turn, so Venom does not ask again; anything else counts as false."New value: +"Stop: true when a Stop hook already continued this turn."
    • changedInput schema / properties / tool / description
      Previous value: -"PostToolUse only: the name of the tool that ran."New value: +"PostToolUse: the tool that ran."
    • changedInput schema / properties / tool_response / description
      Previous value: -"PostToolUse after a Venom log write: the tool's result as the host reports it, as text or JSON, so Venom knows which session wrote the entry."New value: +"PostToolUse after a Venom log write: its result."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes one genuinely new fact beyond them: the tool is scoped to a hook runtime, not to agent-initiated calls. It says nothing about what a call produces or what the hook events trigger.

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?

A single clause with zero filler, and the exclusion is stated immediately rather than buried. It is terse to the point of under-specification, but for a tool agents are told not to call, brevity is the right shape.

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?

With nine parameters, a required enum, and no output schema, an agent would normally need more context, but the definition's only job here is to route agents away from the tool and it does that. Missing is any hint of what guidance would be returned or why a hook would need it, which matters if a human or hook author reads this definition.

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 every one of the nine parameters, including the required 'event' enum, is documented inline in the schema. The description adds no parameter meaning of its own, so the baseline of 3 applies.

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

Purpose2/5

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

The description never states what the tool actually does or returns; 'guidance' is left undefined and the only content is an audience restriction. It does distinguish the tool from every sibling (none are hook-related), but it does so by exclusion rather than by describing a verb+resource.

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 when-not is unambiguous: 'agents don't call it' plus 'for Venom Full's hooks only' tells an agent to skip this tool entirely. It stops short of a 5 because no alternative or fallback is named, though none is obviously needed for a hook-internal endpoint.

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.