Skip to main content
Glama

Handoff: Send Files to Users & Agents

deny_share

Deny an owned grant. A denied grant stays blocked. Requires your API key.

Input Schema

NameRequiredDescriptionDefault
api_keyNoSecret API key from signup. Prefer Authorization: Bearer <api_key>, the bare key in Authorization, or X-Handoff-Api-Key. Pass this only when you cannot set headers. Do not write it into a file you share.
grant_idYesgrant_id of the share to deny.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description does disclose one substantive trait: "A denied grant stays blocked," which tells the agent the effect is persistent. It omits whether denial is reversible, whether it can be applied to grants you don't own, and what the call returns on success or 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 short front-loaded sentences with the action first and the persistence guarantee second. The trailing "Requires your API key" is largely redundant with the api_key schema field that already explains header preferences.

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?

A two-parameter, single-action tool with full schema coverage and no output schema; the description states the action and the durability of the result, which is what an agent needs to decide to call it. Only reversibility and post-call state are left unstated, a small gap at this complexity.

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%, so grant_id and api_key are already documented at the schema level. The description adds no format, sourcing, or lookup guidance for grant_id, so it sits at the baseline.

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 verb and resource ("Deny an owned grant") that an agent can cleanly distinguish from the sibling approve_share. Minor terminology drift between 'share' in the tool name and 'grant' in the description, but the action is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No indication of when to deny versus approve_share, revoke_share, or get_share_status, and no stated preconditions beyond the API key. The agent must infer the approval/denial workflow from sibling names alone.

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.