Skip to main content
Glama

deny_tool

Reject blocked or pending approval tool calls. Use block ID, session ID, or approval ID to deny execution.

Instructions

拒绝被策略阻断或待审批的工具调用(仅 PM 使用)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
block_idNo阻断事件 ID。从 poll_session 或 watch_result 的 blocks 中获取。
session_idNo目标 session ID
approval_idNoKimi Server 审批 ID(高级用法)
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose effects of denial (e.g., whether it terminates the session, logs, or is reversible), rate limits, or authorization beyond PM.

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?

The description is extremely concise (one sentence) and front-loaded with the core action. It could benefit from slightly more structure but is efficient.

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

Completeness2/5

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

For a denial tool with 3 parameters and no output schema, the description lacks details on how to use each parameter in context, what the return value is, and the overall flow. This is insufficient for an agent to use reliably.

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 coverage is 100% with adequate parameter descriptions. The tool description adds no extra parameter details, so baseline 3 is appropriate.

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 clearly states the tool denies blocked or pending-approval tool calls, with a specific audience (PM only). It distinguishes from the sibling approve_tool by focusing on denial.

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 gives context that the tool is for PM use and applies to blocked or pending-approval calls, but does not explicitly contrast with approve_tool or provide when-not-to-use scenarios.

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/FirenzeClaw/kimi-session-orchestrator'

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