Skip to main content
Glama

O publicare

get_publication
Read-onlyIdempotent

Starea, adresa publicată, motivul unui eșec sau al unei respingeri.

Use when you need the state, live URL or rejection reason of one publication. Do not use when listing: use list_publications.

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

Input Schema

NameRequiredDescriptionDefault
publicationIdYesPublicarea, din list_publications sau order_publication.

Output Schema

NameRequiredDescriptionDefault
idNostring
statusNostring. AWAITING_APPROVAL, QUEUED, SCHEDULED, PUBLISHED, FAILED, CANCELLED.
publishedAtNostring|null.
publishedUrlNostring|null. Live address, once published.
rejectionReasonNostring|null. Why the publication was refused, if it was.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / publicationId / description
      Previous value: -"Id-ul publicării (UUID), din list_publications sau order_publication."New value: +"Publicarea, din list_publications sau order_publication."
    • removedInput schema / properties / publicationId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "id": {
      +      "description": "string"
      +    },
      +    "publishedAt": {
      +      "description": "string|null."
      +    },
      +    "publishedUrl": {
      +      "description": "string|null. Live address, once published."
      +    },
      +    "rejectionReason": {
      +      "description": "string|null. Why the publication was refused, if it was."
      +    },
      +    "status": {
      +      "description": "string. AWAITING_APPROVAL, QUEUED, SCHEDULED, PUBLISHED, FAILED, CANCELLED."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / publicationId / description
      Added value: +"Id-ul publicării (UUID), din list_publications sau order_publication."
  3. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / publicationId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the informational content of the response (state, published address, failure/rejection reason), which is useful context but overlaps with the output schema. It says nothing about error behavior for an unknown or unauthorized publicationId.

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?

The routing information is front-loaded and the two English sentences are tight with no wasted words. The leading Romanian fragment duplicates the meaning of the following English sentence, adding a small amount of redundancy before the actionable content.

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 single-parameter read tool with full annotations and an output schema, the description covers what the agent needs: scope, purpose, and the listing alternative. The only meaningful gap is not distinguishing itself from get_own_publication, which an agent could plausibly confuse it with.

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 100% and the single publicationId parameter is already documented in the schema, including where to obtain it (list_publications or order_publication). The description adds no format, sourcing, or validation detail beyond that, so baseline 3 applies.

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 names the resource ('one publication') and the specific data it returns (state, live URL, failure/rejection reason), and it explicitly distinguishes itself from list_publications. It loses a point because the verb is implied rather than stated and because the near-sibling get_own_publication is never mentioned, leaving some ambiguity about which single-publication getter to pick.

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?

It gives explicit when-to-use criteria ('need the state, live URL or rejection reason') plus an explicit when-not-to-use with a named alternative ('Do not use when listing: use list_publications'). That is strong routing guidance, but the omission of get_own_publication as a competing option keeps it from 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.