Skip to main content
Glama

Classify submissions

label_submissions

Mark submissions as spam, ok (not spam) or flagged. spam/ok also teach the classifier, so your judgement improves future filtering. This is how you triage in your own environment: list, decide, label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
labelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral burden, and it discloses a genuinely non-obvious side effect: spam/ok labels 'teach the classifier, so your judgement improves future filtering,' while flagged evidently does not. It omits reversibility, permissions/auth needs, and the 200-item batch limit, leaving gaps for a tool with zero annotation coverage.

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 sentences, front-loaded with the core action followed by the behavioral consequence and the workflow. Efficient and well-ordered; the middle clause is slightly promotional but still earns its place by conveying the learning effect.

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 simple two-parameter tool with no output schema or annotations, the description covers purpose, the triage workflow, and the classifier-feedback behavior. Missing details on what labeling does to existing classifier state, whether labels are reversible, and the batch maximum keep it just short of complete.

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 0%, so the description must compensate. It adds meaning to the label enum by glossing 'ok' as 'not spam' and explaining the classifier effect of spam/ok, but it says nothing about the 'ids' array (that it takes submission IDs, up to 200 per call). Partial compensation only.

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+resource ('Mark submissions') and enumerates the three possible labels with a clarifying gloss ('ok (not spam)'), so the action is unambiguous. It does not explicitly contrast itself with siblings like delete_submissions or export_submissions, but the verb 'mark/label' is inherently distinct from delete/list/export. Clear but no explicit sibling differentiation, so a 4.

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?

Provides a workflow cue: 'This is how you triage in your own environment: list, decide, label,' which points to listing first (list_submissions) and then labeling. However, it names no explicit when-not condition and no alternative tools, so it is context without exclusions.

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