Skip to main content
Glama

Cancelar agendamento

cancelar_agendamento

Cancel a scheduled Instagram post by ID: removes it from the agenda, deletes its cloud media, and deletes the matching Google Calendar event.

Instructions

Remove um post da agenda (e apaga as mídias da nuvem) pelo id. Depois, apague o evento correspondente no Google Agenda.

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": {
      "id": "<id>"
    },
    "name": "cancelar_agendamento"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId de 8 caracteres mostrado em listar_agendamentos

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two most important traits: this is destructive beyond the schedule entry (cloud media is erased) and it creates a required follow-up action in Google Calendar. It still omits whether deletion is irreversible, whether confirmation is needed, and what happens if the post is already published, so it is strong but not complete.

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?

Two tight sentences with the destructive side effect front-loaded in parentheses where it is noticed. The second sentence is slightly ambiguous — it reads as an instruction to the caller rather than a statement of tool behavior — which costs a point but not efficiency.

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 destructive mutation with no annotations and no output schema, the definition covers the main hazard (media deletion) but leaves two calls ambiguous: whether the Google Calendar deletion happens automatically or must be performed by the agent, and whether the tool reports success when the remote event is missing. An agent could call it correctly but not predict the resulting state confidently.

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% and the single parameter already documents the 8-character id and where to find it ('mostrado em listar_agendamentos'). The description only restates 'pelo id' and adds no format, sourcing, or edge-case meaning beyond the schema, so the baseline of 3 applies.

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 ('Remove um post da agenda ... pelo id') and immediately adds scope: it also deletes the cloud media. That is enough to tell it apart from read-only siblings like listar_agendamentos, though the trailing Google Calendar sentence blurs the boundary between what this tool does and what the caller must do.

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

Usage Guidelines3/5

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

Usage is implied by 'pelo id' pointing at an existing scheduled post, and the second sentence gives a post-condition (delete the matching Google Calendar event). There is no explicit when-not guidance, no warning about when cancellation is inappropriate, and no named alternative for cases where the schedule entry should be removed without destroying the media.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.