Skip to main content
Glama

Log a post

log_post

Records a finished post in the brand kit's history to prevent repeats in later batches; include the caption's AI score as a fraction.

Instructions

Adds a finished post to the brand kit's history.jsonl so later batches don't repeat it. Every post needs its caption's AI score from detect_ai_text (ai_score, as a fraction: 12.3% is 0.123).

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

Input Schema

NameRequiredDescriptionDefault
entryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that this is a persistent append to a file on disk that affects future batch behavior, and that ai_score is a hard prerequisite. It does not say what happens on a duplicate entry, whether the write is validated or reversible, or any failure/permission behavior for a mutation of persistent state.

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?

Two sentences, zero filler, with the core effect stated first and the prerequisite second. The percentage-to-fraction example is a compact, high-value clarification rather than padding.

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?

For a mutation tool with no annotations, no output schema, and a deeply nested required object, the description covers only one of the entry fields. An agent still has to guess the meaning and expected format of most fields and what a successful log call returns or confirms.

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?

The description does clarify ai_score's provenance (must come from detect_ai_text) and restates its fractional format, but schema coverage is 0% and the single required parameter is a nested object with roughly sixteen undocumented fields (date, topic, format, reel_style enum, etc.). Those fields carry no explanation in either the schema or the description, so the parameter surface is minimally conveyed.

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?

States a specific verb and resource ('Adds a finished post') and names the exact destination ('the brand kit's history.jsonl') plus the reason it exists ('so later batches don't repeat it'). An agent can immediately tell this is the write-side counterpart to query_history/check_batch_plan rather than a query or render tool.

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?

Establishes the trigger condition ('finished post') and the upstream dependency ('AI score from detect_ai_text'), which is real routing guidance toward a sibling. It stops short of explicit when-not guidance, e.g. whether already-logged or draft posts should be skipped, or whether this must run before plan_batch.

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