Skip to main content
Glama

misakanet_submit_intake

[OPEN TRIAGE / INTAKE] Use misakanet_submit_intake when you only have a partial failure description or want to ask a question; use misakanet_write_lesson (Bearer required) once you already have structured title/domain/problem/root_cause/fix. submit_intake is open, rate-limited, no Bearer — output is a GitHub issue for maintainer triage, NOT a merged lesson — its labels follow the kind: question → needs-answer, proposal → needs-human-review, a failure report → pending-review. Routing: if you are ASKING a how-to / knowledge question (not reporting a failure), set kind="question" — it opens a [Question] issue that maintainers answer/FAQ instead of scoring it as a lesson. If kind is omitted, the server auto-detects question-shaped content (no error/fix/verification + question phrasing). Pull answers later: questions are answered asynchronously (hours to days). Re-call this tool with the SAME problem text later and follow the returned poll_hint — the dedup response returns the maintainer's answer once it exists ({answered:true, answer}), and once your report has become a lesson it returns a conversion receipt ({converted:true, receipt, events}) naming the lesson, its path and its evidence_level; or re-run misakanet_search on the topic for FAQ hits. Every response also carries dedup_key, and poll_hint.recheck_after_seconds says when re-checking is worth it (21600s for questions, 86400s for failure reports). Returns: object {submitted: boolean, intake_id, status, dedup_key, poll_hint, redactions_applied, quality_score, receipt, routing:{kind, auto_detected}, follow_up?}; surface_report is the intake's surface check: command-shaped tokens in your submission that the public corpus has never indexed (null = could not check, [] = checked and nothing unknown). A token there is not proof it is internal — a new public tool looks the same — but if it names a private product or an internal command, describe it generically in the problem before replying: the mechanism is the lesson, the tool name usually is not; duplicates: {submitted: false, duplicate: true, previous_issue, dedup_key} or {answered: true, answer, dedup_key} for answered questions, plus {converted: true, receipt, events} when a lesson now cites the intake. Shape: write problem as sections — the symptom, then ## Root Cause and ## Fix when you know them (## Verification if you have it). Start with the symptom text itself, not with a heading of your own: the section heading above your text is already ## Problem, so opening with ## 背景 / ## Background / ## 问题描述 leaves ## Problem empty and makes your report unreadable to the converter (measured 2026-11-28: 27 of 180 open intakes did exactly this). A report without a root cause is still filed, but it cannot become a lesson automatically: it waits for a person, and the queue is long (measured 2026-11-28: 99 open intakes wait on exactly this, and 56 more lack a cause entirely). If you have run the failure and know the mechanism, that one sentence is the difference between a lesson and a queue entry — write it as ## Root Cause. If you genuinely do not know it yet, say so in that section (## Root Cause then a line saying it is unknown — reproduced but not diagnosed): a recorded unknown is a usable state and costs a reader nothing, while an omitted section is indistinguishable from one nobody has looked at. If you do have a root cause or a fix, the submission is lesson-shaped and needs two more fields, because every new lesson in this corpus must carry them (lessons/TEMPLATE.md): trigger — the error fragment or keywords a future search would use, <=160 chars, not the title again; and verification — how a reader confirms the fix, as a checkable pass/fail. Without them nothing is filed (and nothing is deduped), and the response names what is missing; with them the intake is convertible. Example: misakanet_submit_intake(kind='missing_lesson', problem='pip install times out behind corporate proxy', source='claude-code'); misakanet_submit_intake(kind='question', problem='How do I configure MCP auth in production?', source='claude-code')

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": {
      "problem": "<problem>"
    },
    "name": "misakanet_submit_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixNoOptional: how it was resolved.
kindNomissing_lesson (knowledge gap), stale_lesson (outdated lesson), new_lesson_candidate (new failure mode), question (ask for help), or proposal (a plan / product request that is explicitly not a failure report — decided, never converted to a lesson).
errorNoOptional: short error message (auto-redacted).
sourceNoCalling client: codex, claude-code, cursor, dsh, curl, cindy, or other.
problemYesRequired: the symptom first, then `## Root Cause` and `## Fix` sections when known (max 2000 chars). Reports with those sections can become lessons automatically.
triggerNoRequired for a lesson-shaped submission (one with a `## Root Cause`/`## Fix`, or a `fix`): the error fragment or keywords a future search would use, <= 160 chars. This is the lesson's `trigger:` frontmatter (`lessons/TEMPLATE.md`, #1783) — what makes it findable rather than a story about one project. The server refuses a lesson-shaped submission without it instead of filing one the corpus can never accept.
what_triedNoOptional: what was attempted.
contributorNoOptional: contributor identity (GitHub username, agent name, or email). Included in issue body for attribution.
notify_emailNoOptional: an email for the ANSWER only, and only for kind="question". Ask the user first — never invent it. It is used to send one confirmation message now and, once confirmed, one notification when the answer is ready (the issue URL; never the reporter's text). Omit it and the pull path (me_inbox / FAQ) is unchanged.
verificationNoRequired for a lesson-shaped submission: how a reader confirms the fix worked, as a checkable pass/fail (<= 200 chars). This becomes the lesson's `verify:` field; without it the claim is unverifiable and the corpus will not take it.
matched_lesson_idNoOptional: lesson ID that was checked but didn't help.

Output Schema

NameRequiredDescriptionDefault
noteNo
errorNo
answerNo
eventsNo
statusNo
pendingNo
receiptNo
routingNo
answeredNo
convertedNo
dedup_keyNo
duplicateNo
follow_upNo
intake_idNo
issue_urlNo
poll_hintNo
submittedNo
answer_urlNo
dedup_hashNo
previous_issueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / trigger
      Added value: +{
      +  "description": "Required for a lesson-shaped submission (one with a `## Root Cause`/`## Fix`, or a `fix`): the error fragment or keywords a future search would use, <= 160 chars. This is the lesson's `trigger:` frontmatter (`lessons/TEMPLATE.md`, #1783) — what makes it findable rather than a story about one project. The server refuses a lesson-shaped submission without it instead of filing one the corpus can never accept.",
      +  "type": "string"
      +}
    • changedInput schema / properties / verification / description
      Previous value: -"Optional: how to confirm the fix works."New value: +"Required for a lesson-shaped submission: how a reader confirms the fix worked, as a checkable pass/fail (<= 200 chars). This becomes the lesson's `verify:` field; without it the claim is unverifiable and the corpus will not take it."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile; the description adds the operationally critical facts: open, rate-limited, no Bearer, output goes to a GitHub issue rather than the lesson corpus, per-kind label mapping, auto-redaction, dedup behavior, and polling intervals (21600s vs 86400s). One minor tension: idempotentHint=false while the description says a repeated identical submission returns {duplicate: true, previous_issue} rather than filing again — but that is content-dedup, not a strict idempotency guarantee, so it does not rise to a contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structure is present (Routing, Pull answers later, Returns, Shape, Example) and front-loads the sibling routing, but the body is heavily bloated: the root-cause requirement is restated three times with dated metrics, and the Returns block mixes output shape, dedup shapes, and surface_report semantics in one dense run. Trimming the repetition would lose no information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter intake with an output schema, this is thorough: return object enumerated, dedup/answered/converted variants described, asynchronous answer retrieval explained, surface_report behavior defined for null vs [], and two worked examples. An agent has everything needed to submit correctly and to poll afterward.

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?

Despite 100% schema coverage, the description adds meaning the schema does not: problem must open with the symptom text rather than a self-authored heading (with the failure-mode reason), trigger and verification become mandatory once the submission is lesson-shaped and why, and notify_email is scoped to kind="question" only. These are genuine constraints beyond the field descriptions.

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?

Opens with an explicit verb+resource+scope ("[OPEN TRIAGE / INTAKE] ... submit_intake") and immediately contrasts it with the sibling misakanet_write_lesson, stating the exact condition that selects each. An agent knows what this files (a GitHub issue for triage, NOT a merged lesson) without opening any 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?

Explicit when-to-use (partial failure description or a question), when-not (already have structured title/domain/problem/root_cause/fix → use write_lesson), plus an explicit routing rule for kind="question" and the server's auto-detection fallback when kind is omitted. Alternative recovery paths (re-run misakanet_search, re-call with same problem text) are also named.

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.