Skip to main content
Glama

COTAL actions (cotal.ai)

Read a staged article

cotal_get_my_post
Read-onlyIdempotent

Reads one staged article with every field. Use it before revising a post, to get its current text and the revision you are editing. Returns the current markdown, the revision history and, with revision, that older text. Requires a team key (scope posts:read).

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

Input Schema

NameRequiredDescriptionDefault
slugYesThe post slug, e.g. 'mesh-in-production'.
revisionNoReturn this revision's full text as well.

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.6/5.0
Behavior3/5

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

The annotations already establish readOnly, idempotent, non-destructive and closed-world behavior, so the description's job is to add context beyond that. It does add real value by disclosing the auth requirement (team key, scope posts:read) and by sketching what is returned (current markdown, revision history, optional older text). It adds little about pagination limits or history size, but for a safe read this is adequate.

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 dense sentences, purpose front-loaded, then usage, then return shape and auth. "With every field" is slightly wasted given the returns are enumerated later, but there is no filler.

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, so return values need not be enumerated, and the annotations carry the safety profile; the description nonetheless covers purpose, workflow position, auth scope and return shape. The main remaining gap is how this tool relates to the non-staged sibling getter, which an agent choosing between them would want.

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 coverage is 100%, so both parameters are already documented, and the baseline of 3 applies. The description does clarify the interaction between the revision parameter and the returned data ("with revision, that older text"), which is a small amount of meaning beyond the schema's "Return this revision's full text as well."

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?

"Reads one staged article with every field" gives a specific verb and resource, and the word "staged" is the key discriminator separating it from the published-post sibling. It stops short of naming that sibling, so the differentiation is implied rather than explicit.

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 before revising a post, to get its current text and the revision you are editing" states a concrete precondition and the editing workflow it supports. There are no explicit exclusions or named alternatives (e.g., when to use the published-post getter instead), 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.