Skip to main content
Glama

Hand a finding to a stack

add_finding

Adds something found today to the LFG stack behind an LFG link the person made: one thing that happened, in a sentence, with the link to it. It goes into the stack's logbook beside what the LFG agent found, and the next brief can tell it and link to it. For a find made outside LFG (a search, a page read, a message) that belongs in this stack. Before it is kept, LFG opens the link and checks that the page says it; a finding the page does not support, or whose page will not open, is refused with why. It does not ring anyone and does not change what the stack reads: update_stack adds sources.

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": {
      "id": "<id>",
      "text": "<text>",
      "source_url": "<source_url>"
    },
    "name": "add_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link's id.
textYesWhat happened, in one or two plain sentences with the fact itself: "LangGraph 1.3 shipped on 16 November with durable subgraphs".
source_urlYesThe public https page that says so. The finding is checked against it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / link
      Removed value: -{
      -  "description": "The public https page that says so. The finding is checked against it.",
      -  "format": "uri",
      -  "maxLength": 2000,
      -  "type": "string"
      -}
    • addedInput schema / properties / source_url
      Added value: +{
      +  "description": "The public https page that says so. The finding is checked against it.",
      +  "format": "uri",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "text",
      -  "link"
      -]New value: +[
      +  "id",
      +  "text",
      +  "source_url"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / id / format
      Removed value: -"uuid"
    • changedInput schema / properties / id / pattern
      Previous value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"New value: +"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
  3. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id."New value: +"The link's id."
  4. Changed2 schema fields changed
    • changedInput schema / properties / link / description
      Previous value: -"The public https page that says so."New value: +"The public https page that says so. The finding is checked against it."
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "text"
      -]New value: +[
      +  "id",
      +  "text",
      +  "link"
      +]
  5. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that LFG opens the source link and verifies the page supports the claim, that unsupported or unreachable pages are refused with a stated reason, and that no one is notified. It also describes the downstream effect (the next brief can cite and link the finding) and contrasts the write scope with update_stack. The non-destructive, non-idempotent write profile from annotations is consistent with the described behavior.

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?

Purpose is front-loaded in the first clause, and each subsequent sentence carries distinct information: destination, trigger, validation/refusal, side effects. Some phrasing is convoluted ('the LFG stack behind an LFG link the person made', 'a finding the page does not support, or whose page will not open'), which costs a little clarity but not correctness.

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 three-parameter, fully-specified write tool with no output schema, the description covers the operation, the destination, the validation gate, and failure behavior. It does not say what a successful call returns (an id? the stored finding?) or whether resubmitting the same text/page duplicates the entry, which matters given idempotentHint=false.

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 all three parameters (id, text, source_url) are already documented with patterns, lengths, and examples. The description reinforces the shape ('one thing that happened, in a sentence, with the link to it') and confirms the link is fetched and validated, but adds little syntax or constraint detail the schema does not already carry.

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: adds one finding (a sentence plus its link) into a named LFG stack's logbook. The phrasing 'the LFG stack behind an LFG link the person made' is jargon-heavy but does pin down the target, and the closing clause distinguishes it from update_stack, which 'adds sources.' An agent can identify the operation without opening the schema.

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 an explicit trigger condition: 'For a find made outside LFG (a search, a page read, a message) that belongs in this stack.' It also names the neighboring operation to use instead when the goal is to change what the stack reads (update_stack). No explicit when-not beyond that one exclusion, so it falls short of a full routing guide.

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.