Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

ai_log

Review what your AI read by date: see each access, the app, route, permission profiles and versions, tables and columns shown, and row counts—never data values.

Instructions

Show the AI log's summary (for 'what did my AI see?'): every read, with when, which AI app, the route, the profiles and versions that allowed it, the tables and columns at the level each was shown, and how many rows. Never the values. Optional start and end are dates (YYYY-MM-DD, both included).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ai_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a key behavioral trait: the tool exposes metadata but 'Never the values', a meaningful data-minimization guarantee. However, it says nothing about volume, pagination, default time range when start/end are omitted, or any access requirements.

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?

Two sentences, front-loaded with the verb and the user question it answers, then the field enumeration, the redaction guarantee, and the parameter format. The long enumeration is dense but every item is substantive and nothing is wasted.

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, annotation-free, output-schema-free tool, the description is close to self-sufficient: it documents the return shape in prose and fully specifies the parameters. The remaining gap is behavior when the range is omitted (does it return everything?) and any result-size limits.

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

Parameters5/5

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

Schema description coverage is 0% and the two parameters are bare nullable strings, so the description must compensate — and it does, specifying YYYY-MM-DD format, that both bounds are inclusive, and that they are optional. No ambiguity remains about how to supply the dates.

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 names a specific verb and resource ('Show the AI log's summary') and enumerates exactly what a record contains: timestamp, AI app, route, profiles/versions, tables and columns at the observed level, and row counts. It does not reference a sibling tool (e.g. sent_to_ai, the plausible counterpart), so it stops short of full differentiation.

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?

The parenthetical framing ('what did my AI see?') gives clear context for when to reach for this tool — auditing AI reads. It offers no explicit exclusions or named alternatives, so the agent must infer that sent_to_ai is the outbound counterpart.

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