Skip to main content
Glama

Save text or a document

save_content

Save supplied source text without fetching a public URL. Use external_id for retry-safe creates; content_kind can correct automatic classification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
tagsNo
titleYes
authorNo
formatNo
statusNo
contentYes
starredNo
metadataNo
file_nameNo
mime_typeNo
external_idNo
content_kindNo
published_atNo
capture_methodNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
alreadySavedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / item / allOf
      Added value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "articleStatus": {
      +        "type": "string"
      +      },
      +      "asset": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {
      +              "checksum": {
      +                "type": "string"
      +              },
      +              "downloadUrl": {
      +                "type": "string"
      +              },
      +              "fileName": {
      +                "type": "string"
      +              },
      +              "itemId": {
      +                "description": "UUID that identifies the resource; pass it back exactly as smry returned it.",
      +                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      +                "type": "string"
      +              },
      +              "mimeType": {
      +                "type": "string"
      +              },
      +              "resourceUri": {
      +                "type": "string"
      +              },
      +              "size": {
      +                "type": "number"
      +              },
      +              "updatedAt": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "itemId",
      +              "fileName",
      +              "mimeType",
      +              "size",
      +              "checksum",
      +              "updatedAt",
      +              "resourceUri",
      +              "downloadUrl"
      +            ],
      +            "type": "object",
      +            "x-smry-component": "LibraryAsset"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "captureMethod": {
      +        "anyOf": [
      +          {
      +            "const": "reader",
      +            "type": "string"
      +          },
      +          {
      +            "const": "extension",
      +            "type": "string"
      +          },
      +          {
      +            "const": "upload",
      +            "type": "string"
      +          },
      +          {
      +            "const": "rss",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email_inbox",
      +            "type": "string"
      +          },
      +          {
      +            "const": "api",
      +            "type": "string"
      +          },
      +          {
      +            "const": "import",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "classification": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "confidence": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "method": {
      +            "anyOf": [
      +              {
      +                "const": "user",
      +                "type": "string"
      +              },
      +              {
      +                "const": "source_adapter",
      +                "type": "string"
      +              },
      +              {
      +                "const": "mime",
      +                "type": "string"
      +              },
      +              {
      +                "const": "extension",
      +                "type": "string"
      +              },
      +              {
      +                "const": "url",
      +                "type": "string"
      +              },
      +              {
      +                "const": "metadata",
      +                "type": "string"
      +              },
      +              {
      +                "const": "legacy",
      +                "type": "string"
      +              },
      +              {
      +                "const": "fallback",
      +                "type": "string"
      +              }
      +            ]
      +          },
      +          "updatedAt": {
      +            "type": "string"
      +          },
      +          "version": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "method",
      +          "confidence",
      +          "version",
      +          "updatedAt"
      +        ],
      +        "type": "object"
      +      },
      +      "contentKind": {
      +        "anyOf": [
      +          {
      +            "const": "article",
      +            "type": "string"
      +          },
      +          {
      +            "const": "website",
      +            "type": "string"
      +          },
      +          {
      +            "const": "book",
      +            "type": "string"
      +          },
      +          {
      +            "const": "email",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "social_post",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "podcast_episode",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "externalId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fileName": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "format": {
      +        "anyOf": [
      +          {
      +            "const": "html",
      +            "type": "string"
      +          },
      +          {
      +            "const": "pdf",
      +            "type": "string"
      +          },
      +          {
      +            "const": "epub",
      +            "type": "string"
      +          },
      +          {
      +            "const": "markdown",
      +            "type": "string"
      +          },
      +          {
      +            "const": "plain_text",
      +            "type": "string"
      +          },
      +          {
      +            "const": "document",
      +            "type": "string"
      +          },
      +          {
      +            "const": "spreadsheet",
      +            "type": "string"
      +          },
      +          {
      +            "const": "presentation",
      +            "type": "string"
      +          },
      +          {
      +            "const": "audio",
      +            "type": "string"
      +          },
      +          {
      +            "const": "video",
      +            "type": "string"
      +          },
      +          {
      +            "const": "unknown",
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "lastReadAt": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "metadata": {
      +        "patternProperties": {
      +          "^(.*)$": {}
      +        },
      +        "type": "object"
      +      },
      +      "mimeType": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "originalUrl": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "readProgress": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "savedAt": {
      +        "type": "string"
      +      },
      +      "starred": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "type": "string"
      +      },
      +      "tags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "url",
      +      "originalUrl",
      +      "title",
      +      "domain",
      +      "contentKind",
      +      "classification",
      +      "captureMethod",
      +      "format",
      +      "mimeType",
      +      "fileName",
      +      "asset",
      +      "externalId",
      +      "status",
      +      "starred",
      +      "tags",
      +      "savedAt",
      +      "updatedAt",
      +      "lastReadAt",
      +      "readProgress",
      +      "articleStatus"
      +    ],
      +    "type": "object",
      +    "x-smry-component": "LibraryItem"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "article": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / item / properties
      Removed value: -{
      -  "article": {
      -    "additionalProperties": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "articleStatus": {
      -    "type": "string"
      -  },
      -  "asset": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": {},
      -        "properties": {
      -          "checksum": {
      -            "type": "string"
      -          },
      -          "downloadUrl": {
      -            "type": "string"
      -          },
      -          "fileName": {
      -            "type": "string"
      -          },
      -          "itemId": {
      -            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
      -            "type": "string"
      -          },
      -          "mimeType": {
      -            "type": "string"
      -          },
      -          "resourceUri": {
      -            "type": "string"
      -          },
      -          "size": {
      -            "type": "number"
      -          },
      -          "updatedAt": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "itemId",
      -          "fileName",
      -          "mimeType",
      -          "size",
      -          "checksum",
      -          "updatedAt",
      -          "resourceUri",
      -          "downloadUrl"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "captureMethod": {
      -    "anyOf": [
      -      {
      -        "const": "reader",
      -        "type": "string"
      -      },
      -      {
      -        "const": "extension",
      -        "type": "string"
      -      },
      -      {
      -        "const": "upload",
      -        "type": "string"
      -      },
      -      {
      -        "const": "rss",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email_inbox",
      -        "type": "string"
      -      },
      -      {
      -        "const": "api",
      -        "type": "string"
      -      },
      -      {
      -        "const": "import",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "classification": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "confidence": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "method": {
      -        "anyOf": [
      -          {
      -            "const": "user",
      -            "type": "string"
      -          },
      -          {
      -            "const": "source_adapter",
      -            "type": "string"
      -          },
      -          {
      -            "const": "mime",
      -            "type": "string"
      -          },
      -          {
      -            "const": "extension",
      -            "type": "string"
      -          },
      -          {
      -            "const": "url",
      -            "type": "string"
      -          },
      -          {
      -            "const": "metadata",
      -            "type": "string"
      -          },
      -          {
      -            "const": "legacy",
      -            "type": "string"
      -          },
      -          {
      -            "const": "fallback",
      -            "type": "string"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "type": "string"
      -      },
      -      "version": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "method",
      -      "confidence",
      -      "version",
      -      "updatedAt"
      -    ],
      -    "type": "object"
      -  },
      -  "contentKind": {
      -    "anyOf": [
      -      {
      -        "const": "article",
      -        "type": "string"
      -      },
      -      {
      -        "const": "website",
      -        "type": "string"
      -      },
      -      {
      -        "const": "book",
      -        "type": "string"
      -      },
      -      {
      -        "const": "email",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "social_post",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "podcast_episode",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "domain": {
      -    "type": "string"
      -  },
      -  "externalId": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "fileName": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "format": {
      -    "anyOf": [
      -      {
      -        "const": "html",
      -        "type": "string"
      -      },
      -      {
      -        "const": "pdf",
      -        "type": "string"
      -      },
      -      {
      -        "const": "epub",
      -        "type": "string"
      -      },
      -      {
      -        "const": "markdown",
      -        "type": "string"
      -      },
      -      {
      -        "const": "plain_text",
      -        "type": "string"
      -      },
      -      {
      -        "const": "document",
      -        "type": "string"
      -      },
      -      {
      -        "const": "spreadsheet",
      -        "type": "string"
      -      },
      -      {
      -        "const": "presentation",
      -        "type": "string"
      -      },
      -      {
      -        "const": "audio",
      -        "type": "string"
      -      },
      -      {
      -        "const": "video",
      -        "type": "string"
      -      },
      -      {
      -        "const": "unknown",
      -        "type": "string"
      -      }
      -    ]
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "lastReadAt": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "metadata": {
      -    "patternProperties": {
      -      "^(.*)$": {}
      -    },
      -    "type": "object"
      -  },
      -  "mimeType": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "originalUrl": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "readProgress": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "savedAt": {
      -    "type": "string"
      -  },
      -  "starred": {
      -    "type": "boolean"
      -  },
      -  "status": {
      -    "type": "string"
      -  },
      -  "tags": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "type": "string"
      -  },
      -  "url": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / item / required
      Removed value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "starred",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]
    • removedOutput schema / properties / item / type
      Removed value: -"object"
  2. Changed3 schema fields changed
    • addedInput schema / properties / starred
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / item / properties / starred
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / item / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "originalUrl",
      -  "title",
      -  "domain",
      -  "contentKind",
      -  "classification",
      -  "captureMethod",
      -  "format",
      -  "mimeType",
      -  "fileName",
      -  "asset",
      -  "externalId",
      -  "status",
      -  "tags",
      -  "savedAt",
      -  "updatedAt",
      -  "lastReadAt",
      -  "readProgress",
      -  "articleStatus"
      -]New value: +[
      +  "id",
      +  "url",
      +  "originalUrl",
      +  "title",
      +  "domain",
      +  "contentKind",
      +  "classification",
      +  "captureMethod",
      +  "format",
      +  "mimeType",
      +  "fileName",
      +  "asset",
      +  "externalId",
      +  "status",
      +  "starred",
      +  "tags",
      +  "savedAt",
      +  "updatedAt",
      +  "lastReadAt",
      +  "readProgress",
      +  "articleStatus"
      +]
  3. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false). The description adds real value beyond them: it explains that external_id yields retry-safe creates, a nuance that refines the idempotentHint=false annotation without contradicting it, and clarifies the no-fetch behavior.

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, both front-loaded with the most decision-relevant information (what it saves, then the idempotency and classification hints). No filler or restated name.

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 15-parameter mutation tool with a nested object and no schema descriptions, the description is too thin. The presence of an output schema excuses it from explaining return values, and annotations cover safety, but the bulk of the input surface remains undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 15 parameters, including a nested free-form metadata object, so the schema alone gives an agent almost nothing. The description documents only two parameters (external_id, content_kind) and leaves title, content, format, status, capture_method, etc. unexplained, so it fails to compensate for the coverage gap.

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 states a specific verb and resource ('Save supplied source text') and scopes it by excluding URL fetching, which effectively distinguishes it from the URL-based save_article sibling. It stops short of a score of 5 only because the alternative is implied rather than named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'without fetching a public URL' implies when to pick this over a URL-fetching save, but the sibling is never named and there are no explicit when-not conditions. The external_id advice is parameter mechanics rather than routing guidance.

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