Skip to main content
Glama

Bite: is this past fix guarded by a test?

ask_bite
Read-only

Check whether a past fix is still guarded by tests: ask in plain words about a committed change and it runs the project's tests with and without that change applied.

Instructions

Ask in plain words about a fix already committed, like "is last week's login fix guarded?". Use check_fix instead for a change you just made. Bite finds up to 3 matching commits by their messages, the names they changed and the time named (today, yesterday, last week, the last 10 days...), takes each change back out of a copy and runs the tests twice (with and without it), so it takes up to six test runs. Free, needs no key, never touches the user's files. The answer opens in a few words (Yes, No or Partly), then a short block per commit, with its id. If nothing matches, it says so: ask again with words from the commit message or a function or file name it changed. If Bite couldn't check, that isn't a pass: tell the user.

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": {
      "question": "<question>"
    },
    "name": "ask_bite"
  }
}

Input Schema

NameRequiredDescriptionDefault
lastNoHow many recent commits to search, newest first (default 100). Raise it for an older fix.
folderNoPath to the project you changed: its top folder or any folder inside its git repository, for example "/home/me/project". Leave it out to use the folder Bite was started in.
questionYesThe question, in plain words. Name the fix (words from its commit message, or a function or file it changed) and, if you know it, when ("yesterday", "last week").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.0.7
    • changedInput schema / properties / folder / description
      Previous value: -"The project folder you changed (any folder inside its git repository). Leave it out to use the folder Bite was started in."New value: +"Path to the project you changed: its top folder or any folder inside its git repository, for example \"/home/me/project\". Leave it out to use the folder Bite was started in."
    • changedInput schema / properties / last / description
      Previous value: -"How many recent commits to look through (default 100)."New value: +"How many recent commits to search, newest first (default 100). Raise it for an older fix."
    • addedInput schema / properties / last / minimum
      Added value: +1
    • changedInput schema / properties / question / description
      Previous value: -"The question, in plain words."New value: +"The question, in plain words. Name the fix (words from its commit message, or a function or file it changed) and, if you know it, when (\"yesterday\", \"last week\")."
  2. First observedv1.0.5

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial behavior beyond readOnlyHint=true and openWorldHint=false: it caps matches at 3 commits, explains the mechanism (reverts each change in a copy and runs tests with and without it), warns of up to six test runs, and confirms it never touches the user's files, consistent with the read-only annotation. It also discloses that a failed check is not a pass and must be surfaced. The only gap is that the cost/slowness is mentioned but not framed as latency an agent should plan around.

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?

Front-loaded with the core question and the sibling redirect, then the cost model, output shape and failure mode. Dense and mostly earned, though the run-on middle sentence about reverting changes packs several facts together and could be split for scannability.

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 a three-parameter, no-output-schema tool this is complete: it describes what the answer looks like (Yes/No/Partly plus a block per commit with its id), what happens on zero matches, and what a non-answer means. Nothing an agent needs to call it or report results correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description genuinely enriches the required 'question' parameter by saying what kinds of words work (commit message words, changed function or file names) and that a time expression narrows the search. It does not explain the 'last' commit-count parameter, which the schema already carries.

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 concrete verb and resource ('Ask in plain words about a fix already committed') and immediately distinguishes itself from the sibling: 'Use check_fix instead for a change you just made.' An agent can route between the two without opening either 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?

Gives an explicit when-to-use rule with the named alternative and its triggering condition ('a change you just made'), plus recovery guidance when nothing matches ('ask again with words from the commit message or a function or file name it changed'). Interpretation guidance for relative time words is also supplied.

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

Deploy Server

Other Tools