Skip to main content
Glama

contribute_kb_finding

Capture gaps discovered while working in any repo by staging them as GitHub issues for integration into the APC agent's knowledge base, HSM command registry, or compliance rules.

Instructions

Call this whenever you discover a gap while working in any repo — apc-hsm-proxy, CyberChef-Payments, or any other session — and the finding belongs in this MCP server's knowledge base, HSM command registry, proxy handler list, or compliance rules. Works without AWS credentials.

Stages the finding as a GitHub issue so the MCP server session can apply it at the next session start. Returns a formatted issue body and the exact gh CLI command to run.

finding_type options: "kb_entry" — new or corrected entry for payment-knowledge-base.md "hsm_command" — new HSM command to add to hsm_analysis.py ALL_COMMANDS "proxy_handler" — handler completed in apc-hsm-proxy; needs _PROXY_HANDLERS update "compliance_rule" — new PCI or scheme rule for compliance.py "apc_constraint" — APC API gap or undocumented constraint for AGENTS.md

Args: finding_type: One of the five types above summary: One-line description — becomes the GitHub issue title content: The content to add, formatted for the target file (KB YAML, HsmCommand(), etc.) source_repo: Which repo or context revealed this — e.g. "apc-hsm-proxy GW handler" context: Optional additional context — related files, downstream impact, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
contextNo
summaryYes
source_repoYes
finding_typeYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it explains that the tool stages findings as GitHub issues, that application happens at the next session start, and that it returns a formatted issue body plus the exact gh CLI command. It could further clarify whether it actually creates the GitHub issue or only prepares the command, and what GitHub authentication is required.

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?

The description is long but well-organized: trigger, mechanism, return value, finding_type options, then parameter list. Each block adds necessary information, and the most important usage rule is front-loaded.

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?

The description covers the trigger, all parameter semantics, the side-effect model, and the return value, even though no output schema exists. Minor gaps remain around exact GitHub-related prerequisites and whether the gh command is executed by the tool or left for the agent to run.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by documenting every parameter with its purpose, example values, and the finding_type enumeration with concrete meanings and target files. This is exactly the context an agent needs to construct valid arguments.

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?

Description opens with a concrete trigger ('Call this whenever you discover a gap while working in any repo') and states the exact resource targets: the knowledge base, HSM command registry, proxy handler list, and compliance rules. It is clearly distinct from the sibling KMS/HSM tools, which operate on keys and HSM commands rather than recording findings for later application.

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?

Provides explicit when-to-use guidance with inclusion criteria ('discover a gap', 'belongs in this MCP server's knowledge base...') and clarifies the tool works without AWS credentials. It does not name alternatives or exclusions, but none of the siblings are direct substitutes, so the omission is minor.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/J8k3/aws-payment-cryptography-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server