Skip to main content
Glama

datacrazy_leads_attachments_delete

Apagar arquivo anexado ao lead (DELETE /api/v1/leads/{leadId}/attachments/{id}). [write, altera dados]

Bulk support: accepts ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
idsNo
bodyNo
leadIdYes
accountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior1/5

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

The description explicitly states 'Delete' and 'write, altera dados', indicating a destructive write operation, but the annotations declare destructiveHint=false, which contradicts the action. This is a direct contradiction, warranting a score of 1 per the rules.

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

Conciseness5/5

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

The description is concise, with the main purpose stated in the first sentence and a separate note for bulk support. It is front-loaded and contains no fluff or redundancy.

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?

Given the tool has 5 parameters, no output schema, and sparse annotations, the description is incomplete. It lacks explanations for 'body' and 'account', does not mention side effects or prerequisites, and omits return value details. The contradiction further reduces completeness.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains leadId and id/ids partially via the endpoint and bulk note, but ignores 'body' and 'account' parameters entirely. This leaves much of the parameter semantics unexplained.

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 action: 'Delete file attached to lead' with the HTTP endpoint, distinguishing it from sibling tools like create and list. It specifies both the resource (attachment) and the operation (delete) clearly.

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 explicit guidance is given on when to use this tool versus alternatives, such as create or list for attachments. It implies usage for deletion but does not mention exclusions or conditions, and the bulk execution is only mentioned as a note without context on when to use it.

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.