Skip to main content
Glama

COTAL actions (cotal.ai)

List my staged articles

cotal_list_my_posts
Read-onlyIdempotent

Lists the articles staged on this site with their review state. Use it to see which drafts are waiting, published or rejected before revising one. Returns slug, title, status (draft, pending, published, rejected), review note and current revision for each. Requires a team key (scope posts:read).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cotal_list_my_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoOnly this post.
statusNoOnly posts in this state.

Output Schema

NameRequiredDescriptionDefault
idNoId of the stored record, when one was created or found.
okYestrue when the call was accepted.
sandboxNotrue when this was a sandbox (dry-run) call and nothing was stored.
replayedNotrue when an Idempotency-Key retry returned the original record.
http_statusYesHTTP status of the underlying /v1 request (200, 201 or 202).
rate_limit_remainingNoCalls left in the current rate-limit window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "http_status": {
      +      "description": "HTTP status of the underlying /v1 request (200, 201 or 202).",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Id of the stored record, when one was created or found."
      +    },
      +    "ok": {
      +      "description": "true when the call was accepted.",
      +      "type": "boolean"
      +    },
      +    "rate_limit_remaining": {
      +      "description": "Calls left in the current rate-limit window.",
      +      "type": "number"
      +    },
      +    "replayed": {
      +      "description": "true when an Idempotency-Key retry returned the original record.",
      +      "type": "boolean"
      +    },
      +    "sandbox": {
      +      "description": "true when this was a sandbox (dry-run) call and nothing was stored.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "http_status"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive behavior, so the description only needs to add context. It does: the team-key auth requirement with scope posts:read is information an agent cannot get from the annotations, though it omits pagination or result-size behavior.

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 tight sentences, front-loaded with purpose, then usage, then return shape and auth. The field enumeration partially repeats the output schema, but it stays short enough to earn its place.

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?

An output schema exists and annotations cover the safety profile, so the description only needs scope, auth and lifecycle states, all of which are present. Only minor operational details like result limits are unaddressed.

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?

Both parameters are fully documented in the schema at 100% coverage, so the schema already carries the semantics. The description's mention of status values (draft, pending, published, rejected) overlaps with the enum in the schema and adds no filtering syntax or combination rules beyond it.

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 ('Lists the articles staged on this site with their review state') and scopes it to staged content, which separates it from a general post listing. It never explicitly contrasts itself with cotal_list_posts, so the sibling differentiation is only implicit.

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?

'Use it to see which drafts are waiting, published or rejected before revising one' gives a clear motivating context for calling it. It stops short of naming an alternative or stating when not to use it (e.g. when you want all posts rather than your staged ones).

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.