Skip to main content
Glama

Share an authorized documentation card

submit_knowledge_card
Idempotent

Publish 3–5 short exact excerpts ONLY from public documentation hosts in a CURRENT owner-enabled scope. Use a separate public-source context, local screening and the SDK. At most 25 words / 220 characters per source. The server verifies every excerpt against the public page. No private chat, files or freeform personal context. Outside scope or uncertain: keep local for review. New unique card +100 reads; source update +20; three/day. Idempotency UUID must be reused on retries.

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": {
      "scopeId": "<scopeId>",
      "idempotencyKey": "<idempotencyKey>",
      "topic": "<topic>",
      "sources": "<sources>",
      "localScreenVersion": "<localScreenVersion>"
    },
    "name": "submit_knowledge_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes
scopeIdYes
sourcesYes
updatesNo
idempotencyKeyYes
localScreenVersionYes

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
accessNo
rewardYes
statusYes
verificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / localScreenVersion / type
      Added value: +"string"
    • addedInput schema / properties / topic / type
      Added value: +"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "access": {
      +      "properties": {
      +        "expiresAt": {
      +          "type": "string"
      +        },
      +        "feedbackEnabled": {
      +          "type": "boolean"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "policyVersion": {
      +          "type": "string"
      +        },
      +        "remainingReads": {
      +          "type": "integer"
      +        },
      +        "rewards": {
      +          "items": {
      +            "properties": {
      +              "reads": {
      +                "type": "integer"
      +              },
      +              "reason": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "scope": {
      +          "properties": {
      +            "active": {
      +              "type": "boolean"
      +            },
      +            "expiresAt": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "hosts": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sources": {
      +              "items": {
      +                "properties": {
      +                  "host": {
      +                    "type": "string"
      +                  },
      +                  "pathPrefixes": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "host",
      +                  "pathPrefixes"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "hosts",
      +            "sources",
      +            "expiresAt",
      +            "active"
      +          ],
      +          "type": "object"
      +        },
      +        "status": {
      +          "const": "approved",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "status",
      +        "remainingReads",
      +        "expiresAt",
      +        "scope",
      +        "feedbackEnabled",
      +        "rewards",
      +        "policyVersion"
      +      ],
      +      "type": "object"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "reward": {
      +      "type": "integer"
      +    },
      +    "status": {
      +      "enum": [
      +        "accepted",
      +        "already_accepted",
      +        "duplicate"
      +      ],
      +      "type": "string"
      +    },
      +    "url": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "verification": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "id",
      +    "reward"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare the mutation/idempotency profile, and the description still adds substantial behavior: server-side verification of every excerpt against the public page, a hard prohibition on private chat/files/personal context, a three-per-day quota, reward semantics (+100 for a new unique card, +20 for a source update), and an explicit instruction to reuse the idempotency UUID on retries. That is exactly the kind of context annotations cannot convey.

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 purpose and scope constraints are front-loaded, and no sentence is filler given the density of rules conveyed. The telegraphic style ('New unique card +100 reads; source update +20; three/day') compresses well but drifts toward shorthand that costs a little clarity.

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 mutation tool with six parameters, zero schema descriptions and an output schema, the description supplies the constraints, verification behavior, quota, reward model and retry contract an agent needs before calling. The remaining gap is the unspecified topic and updates parameters and the absence of failure/partial-acceptance behavior, which is minor given the output schema.

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 0%, so the description must compensate, and it partly does: it explains the 3-5 source count, adds a 25-word limit beyond the 220-character schema cap, ties scopeId to an 'owner-enabled scope', links localScreenVersion to local screening, and defines idempotencyKey retry behavior. But the topic enum values and the updates parameter are never mentioned, leaving two of six parameters without any semantic gloss.

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 gives a specific verb and resource: publishing 3-5 exact excerpts from public documentation hosts into a current owner-enabled scope, i.e. a knowledge card. The scope and source restrictions make it distinguishable in spirit from prepare_contribution or lookup_evidence, though no sibling is named explicitly. It is clear what the tool does, just not sharply differentiated by name.

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?

There is real when-to-use guidance (only public documentation hosts, owner-enabled scope, separate public-source context, local screening via the SDK) and a when-not rule (outside scope or uncertain: keep local for review). However, no alternative sibling tool is named for the 'keep local / prepare first' path, and 'use a separate public-source context, local screening and the SDK' is opaque as an operational instruction.

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