Skip to main content
Glama

Create knowledge-card drafts

create_card_drafts
Idempotent

Create pending, user-owned general-knowledge card drafts only after clear affirmative consent to specifically named, independently teachable knowledge in the current conversation. Every card must declare knowledge_scope as general_knowledge. Personal or company decisions, product principles or policies, pricing rationale, preferences, plans, tasks, reminders, meeting outcomes, project status, and autobiographical facts are ineligible. An assistant suggestion alone is not consent. This tool never accepts raw transcripts or historical-conversation data, and it cannot approve, publish, or modify public knowledge cards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes
providerYes
provenanceYes
request_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
createdYes
batch_idYes
review_urlYes
draft_countYes
review_pathYes
review_flagsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / review_flags
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "client_id": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "code": {
      +        "enum": [
      +          "possible_autobiographical",
      +          "possible_organization_specific",
      +          "possible_choice_rationale",
      +          "possible_task_or_meeting",
      +          "possible_project_status"
      +        ],
      +        "type": "string"
      +      },
      +      "field": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "match": {
      +        "maxLength": 80,
      +        "type": "string"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "client_id",
      +      "code",
      +      "field",
      +      "match",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 600,
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "batch_id",
      -  "created",
      -  "draft_count",
      -  "review_path",
      -  "review_url"
      -]New value: +[
      +  "status",
      +  "batch_id",
      +  "created",
      +  "draft_count",
      +  "review_path",
      +  "review_url",
      +  "review_flags"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / review_url
      Added value: +{
      +  "format": "uri",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "batch_id",
      -  "created",
      -  "draft_count",
      -  "review_path"
      -]New value: +[
      +  "status",
      +  "batch_id",
      +  "created",
      +  "draft_count",
      +  "review_path",
      +  "review_url"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations declare readOnly=false, destructive=false, idempotent=true, openWorld=false, and the description adds substantial context beyond them: the consent gate, the eligibility boundary, and the prohibition on raw transcripts or historical-conversation data. No contradictions with annotations; the write-without-destruction profile is consistent.

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 core action is front-loaded in the first clause, and each subsequent sentence adds a distinct constraint rather than restating. It is dense but nearly every clause earns its place; a light structural break between consent rules and scope rules would improve scanability.

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 no explanation, and the consent/eligibility rules are unusually thorough for a mutation tool. The remaining gap is that the provenance/request_id/provider envelope, which is non-trivial given the nested schema, goes unexplained.

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% for the four top-level required parameters, so the description bears the burden of explaining them. It clarifies knowledge_scope (already a const in the schema) but says nothing about provider, request_id, or provenance, leaving half the top-level parameters semantically unexplained.

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 with precise scope: 'Create pending, user-owned general-knowledge card drafts.' This clearly distinguishes it from siblings like create_knowledge_bundle_drafts and validate_knowledge_bundle, and an agent can identify the operation without opening the schema.

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

Usage Guidelines5/5

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

Explicitly defines the precondition ('only after clear affirmative consent'), enumerates ineligible categories (decisions, policies, preferences, plans, tasks, etc.), and clarifies that an assistant suggestion alone is not consent. It also names what the tool cannot do (approve, publish, modify public cards), effectively routing those intents elsewhere.

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.