Skip to main content
Glama
@4da/mcp-server

@4da/mcp-server

Official

Pre-task briefing

what_should_i_know
Read-only

Call before a non-trivial task to get security advisories and a verdict for npm, PyPI, crates.io and Go packages, so you know whether the change is safe to delegate.

Instructions

Pre-task briefing (npm, PyPI, crates.io and Go packages only): advisories and a verdict. Call BEFORE a non-trivial task with its packages and each version; public: false for private registries, indexes, git, paths. On confirmation_needed: task_packages.next_step.

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": {
      "task": "<task>"
    },
    "name": "what_should_i_know"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesThe request in the user's words ("upgrade fastembed from 5 to 7"): do not correct spellings or drop names; a misspelt name may be the finding.
filesNoPaths of the task (optional), read locally only: never sent anywhere.
packagesNoPackages this task adds or changes, at most 100, each with the `version` the task writes (or "latest"): the level rests on this. Without it the answer is never safe_to_delegate: confirmation_needed, or a stricter or equal level another rule sets (a refused entry holds review_needed). Versions it happens to read in the task are checked too, best effort.
not_packagesNoWords that are not packages, at most 100 (your statement): not looked up; the scan still reads installed ones.
project_pathNoProject directory the task is about; its lockfiles decide which packages exist. Default: the project the server was started in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv6.0.11
    • changedInput schema / properties / files / description
      Previous value: -"File paths involved in the task (optional). Manifest and source paths help find the packages involved. Read locally only: never sent anywhere, the embedding provider included (it gets the task text)."New value: +"Paths of the task (optional), read locally only: never sent anywhere."
    • addedInput schema / properties / not_packages
      Added value: +{
      +  "description": "Words that are not packages, at most 100 (your statement): not looked up; the scan still reads installed ones.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • addedInput schema / properties / packages
      Added value: +{
      +  "description": "Packages this task adds or changes, at most 100, each with the `version` the task writes (or \"latest\"): the level rests on this. Without it the answer is never safe_to_delegate: confirmation_needed, or a stricter or equal level another rule sets (a refused entry holds review_needed). Versions it happens to read in the task are checked too, best effort.",
      +  "items": {
      +    "properties": {
      +      "ecosystem": {
      +        "description": "Package registry.",
      +        "enum": [
      +          "npm",
      +          "PyPI",
      +          "crates.io",
      +          "Go"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Package name as published.",
      +        "type": "string"
      +      },
      +      "public": {
      +        "description": "false for anything from a private registry, an own index, git or a path; true sends the name to the public registry.",
      +        "type": "boolean"
      +      },
      +      "version": {
      +        "description": "Needed for a complete answer: the version or range you will write (PyPI: PEP 440, not Poetry's ^ or ~), or latest.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ecosystem",
      +      "name",
      +      "public"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • changedInput schema / properties / task / description
      Previous value: -"What you are about to do, naming packages and versions where you know them (e.g. \"upgrade fastembed from 5 to 7\")."New value: +"The request in the user's words (\"upgrade fastembed from 5 to 7\"): do not correct spellings or drop names; a misspelt name may be the finding."
  2. Changed1 schema field changedv6.0.7
    • changedInput schema / properties / files / description
      Previous value: -"File paths involved in the task (optional). Manifest and source paths help find the packages involved."New value: +"File paths involved in the task (optional). Manifest and source paths help find the packages involved. Read locally only: never sent anywhere, the embedding provider included (it gets the task text)."
  3. Changed1 schema field changedv6.0.2
    • addedInput schema / properties / project_path
      Added value: +{
      +  "description": "Project directory the task is about; its lockfiles decide which packages exist. Default: the project the server was started in.",
      +  "type": "string"
      +}
  4. First observedv6.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-call behavior are covered. The description adds the important disclosure that public: false must be used for private registries, indexes, git and paths, and that a confirmation_needed state routes to task_packages.next_step — useful, but return format and verdict semantics remain unstated.

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?

Three dense clauses, front-loaded with the purpose and ecosystem scope before the call-condition and the failure-routing note. The telegraphic phrasing ('On confirmation_needed: task_packages.next_step') costs some readability but no sentence is wasteful.

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

Completeness3/5

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

There is no output schema, so the description must carry return semantics, and it only says 'advisories and a verdict' plus a reference to confirmation_needed and task_packages.next_step. The verdict levels (safe_to_delegate, review_needed) appear only in the packages schema, leaving an agent without a clear picture of what comes back.

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 description coverage is 100%, so the schema already explains task, files, packages, not_packages and project_path in depth. The description only echoes the version requirement and the public:false rule for private sources, adding little beyond structured data — baseline 3.

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?

States a specific verb and resource: a pre-task briefing returning 'advisories and a verdict', explicitly scoped to npm, PyPI, crates.io and Go. The verb+resource is clear enough that an agent can distinguish it from a bare vulnerability scan, though no sibling is named directly.

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?

Gives explicit timing ('Call BEFORE a non-trivial task') and conditions the input ('with its packages and each `version`'), plus a routing rule for the confirmation_needed outcome. It does not name an alternative tool for the case where the task is trivial or the ecosystem is unsupported, which keeps it short of a 5.

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