Skip to main content
Glama

Deputy MCP Server and API by Cotlet

Approve leave request in Deputy

deputy_approve_leave_request
Read-onlyIdempotent

Approve leave request in the user's own Deputy account from ChatGPT, Claude or any AI agent. Returns how to do it in Deputy step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Deputy Cloud Browser. Deputy's official API: Yes, Deputy has a full REST API, but no official MCP server (checked 20 Oct 2026).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "deputy_approve_leave_request"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the return value is a step-by-step procedural guide and the tool "opens nothing by itself," preventing the agent from assuming the approval already happened. It stops short of describing what the returned steps actually look like or whether the live leave state is inspected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are front-loaded, dense and essential. The closing sentence about Deputy having a REST API but no official MCP server (with a checked-on date) is justificatory meta-commentary that does not help an agent decide or invoke, and it dilutes an otherwise tight definition.

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?

For a zero-parameter, no-output-schema tool, the description covers the essentials: what it returns (screens, buttons, fields) and what it does not do (open anything). Annotations carry the safety semantics. The remaining gap is that it doesn't state how the agent should identify which leave request to act on, which matters given the absence of any parameter to pass an ID.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero input parameters, so the baseline is 4 and there is nothing for the description to disambiguate. The schema is fully described and closed (additionalProperties: false), and the description correctly implies the target leave request must be identified out-of-band via the browser tools.

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 (approve a leave request in Deputy) and immediately clarifies the non-obvious twist: this call does not approve anything, it returns step-by-step instructions for doing so in the UI. That distinguishes it from a true mutation tool, though it never names the closest sibling (deputy_decline_leave_request) to draw the contrast explicitly.

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?

It gives a clear two-step operating context: call this to get screens/buttons/fields, then execute with the cotlet_browser_* tools in the Deputy Cloud Browser. What is missing is any exclusion or precondition guidance — e.g. whether the agent should first confirm the request exists or check it is still pending — but the workflow direction is unambiguous.

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