Skip to main content
Glama
tulha-mcp

tulha-mcp

by Ctorum

Jogar fora

discard_item

Discard a quantity of a spoiled or expired pantry item and log the waste. Omit amount to discard all remaining stock; shortfalls then appear on the shopping list.

Instructions

Descarta uma quantidade de um item (estragou, venceu). Sem "amount", descarta tudo que sobrou. Registra o descarte e, se ficar em falta, entra na lista de compras.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
amountNoQuantidade descartada; se omitido, descarta o estoque inteiro

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does well: it reveals the side effects (the discard is recorded, and a shortage triggers a shopping-list entry), which is the most important thing an agent needs before mutating state. It does not say whether the discard is reversible, what happens if the item name is unknown, or what the call returns.

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?

Three short sentences, front-loaded with the action, then the default behavior, then the side effect. Every clause adds information and nothing is redundant.

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 two-parameter mutation tool with no annotations and no output schema, the description covers purpose, default behavior, and downstream consequences. Only edge cases (unknown item, reversibility, return shape) are unaddressed, which are minor relative to the tool's simplicity.

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 50%. The description compensates well for "amount" by restating and clarifying the omit-means-discard-everything default, but the required "name" parameter is documented nowhere in the schema or description beyond the implicit "an item". Baseline 3 is appropriate given the partial coverage.

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 gives a specific verb and resource in the first clause ("Descarta uma quantidade de um item") and adds the motivating context (spoiled/expired). It implicitly distinguishes itself from a full delete by scoping to a quantity, but it never names or contrasts with delete_item, so the agent must infer the boundary from sibling names alone.

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 parenthetical "(estragou, venceu)" tells the agent the situation that calls for this tool, and the second sentence states the conditional branch when "amount" is omitted. There are no explicit exclusions or named alternatives, which keeps it below a 5.

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