Skip to main content
Glama

fdb_teach

Teach the reply reader to interpret an unclear data-broker response by supplying its meaning and a short phrase from the reply, so future replies are classified automatically.

Instructions

When fdb_read_reply says "unclear" and you can see what the reply means, teach the tool so it reads the next one itself. Give the meaning and 2 to 12 plain words copied from the reply that carry it. Never include a name, number, address or link. Then read the reply again.

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": {
      "kind": "<kind>",
      "phrase": "<phrase>"
    },
    "name": "fdb_teach"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesOne of: done, no_record, click_link, wants_id, use_form, wants_details, refused, received, bounced, moved
phraseYesA few words from the reply

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that the phrase must be copied verbatim (2 to 12 plain words), that it must 'carry' the meaning, and that names, numbers, addresses and links must never be included, a real privacy constraint the schema does not express. It is silent on whether the learned mapping persists beyond this session, whether re-teaching overwrites a prior mapping, and whether there is any undo, which keeps it out of 5 territory.

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?

Four short sentences, all load-bearing, and the trigger condition is front-loaded ahead of the mechanics and constraints. The 'Then read the reply again' closer gives the next action without wasted wording.

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 two-parameter write-ish tool with no output schema and no annotations, the agent gets the precondition, the input construction rules, the exclusion rules and the post-call step. Persistence semantics and failure handling are absent, which is a modest but real gap for a tool whose whole point is durable learning.

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; the description earns extra by tightening 'phrase' from 'a few words from the reply' into a bounded rule (2-12 words, copied literally, must carry the meaning, excluding names/numbers/addresses/links). It also frames 'kind' as 'the meaning', which clarifies the parameter's intent beyond the enumerated value list. It does not explain how to choose among the ten kind values, which stops it short of 5.

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?

The description gives a concrete trigger ('fdb_read_reply says unclear'), a concrete action ('teach the tool' a phrase-to-meaning mapping) and a named sibling, so an agent can separate it from fdb_read_reply and the other fdb_* tools. What is being taught (a reusable interpretation the reader applies to future replies) is stated indirectly via 'so it reads the next one itself' rather than plainly, which keeps it from a 5.

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?

The when-to-use condition is explicit and conjunctive: only when fdb_read_reply reports 'unclear' AND the agent can already see what the reply means. It also gives the immediate follow-up step ('Then read the reply again'), which tells the agent what to do after a successful call. The only unstated branch is what to do if the meaning remains unclear, a minor gap.

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