Skip to content
IBM Db2 for i
IBM Db2 for i

Tools

Everything IBM Db2 for i exposes to your AI client: tools, resources and prompts.

23 capabilities20 tool3 resource
Automated heuristic

Tool docs quality: B — 20 tools graded

Average 74/100 for how clearly each description tells an AI client what the tool does, what it needs, and what it changes. It is not a security audit.

  • Grade A: 5
  • Grade B: 8
  • Grade C: 6
  • Grade D: 1
  • Grade F: 0
How grades work
  • Parameters, return value or result columns, and a call template for a procedure or function

    Description quality grade B, 75/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Get detailed column information

    Description quality grade D, 50/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed0/20

      Only 4 words. Say what the tool needs and what it returns.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Execute read-only SELECT queries, with an optional chart hint for the result view

    Description quality grade A, 90/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      The description says what the tool changes.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • explain_tableresource

    schema, table

  • explore_libraryresource

    schema

  • Write every row of a read-only query to a CSV or XLSX file: a path over stdio, a short-lived download link over HTTP. Off unless EXPORTENABLED is set

    Description quality grade A, 90/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      The description says what the tool changes.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List business descriptions, row filters and relations loaded from YAML

    Description quality grade B, 70/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List journal, images, and primary key per table, and flag tables a replication tool cannot read

    Description quality grade A, 90/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Return the SQL DDL that recreates an object

    Description quality grade C, 60/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List objects that depend on a table

    Description quality grade C, 60/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Get primary keys, foreign keys, unique constraints

    Description quality grade C, 60/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List the indexes the query optimizer asked for in a library, merged and ranked by temporary index use

    Description quality grade A, 90/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List SQL indexes for a table

    Description quality grade C, 60/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List SQL procedures and functions in a library, with language, external program, and SQL data access

    Description quality grade B, 70/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List schemas/libraries (with optional filter)

    Description quality grade B, 80/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List tables in a schema (with optional filter)

    Description quality grade B, 80/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • List views in a schema (with optional filter)

    Description quality grade B, 80/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Row count, last change, and per-column distinct and null counts from stored statistics or a scan

    Description quality grade C, 55/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Find columns by name or description across libraries

    Description quality grade B, 80/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Find IBM i services by keyword or category, with the release that added each one and an example query

    Description quality grade A, 90/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Find tables by name or description across libraries

    Description quality grade B, 80/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Check a statement without running it, including catalog names

    Description quality grade C, 60/100 · 3 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: not passed10/20

      A bit terse. One more clause about inputs or results would help.

    • Starts with what it does: passed15/15

      Opens with an action verb.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • write_queryresource

    question, schema, table