Skip to main content
Glama
KlausFreiberufler

DevFlow MCP Server

agent_session_log

Record progress, decisions, and issues during an active agent session by logging messages with debug, info, warning, or error levels to maintain a clear audit trail.

Instructions

Log a message to an active agent session. Use this to record progress, decisions, or issues during a work session.

Supports different log levels:

  • debug: Detailed tracing, rarely needed

  • info: General progress updates (default)

  • warning: Potential issues or concerns — a review verdict belongs here

  • error: Errors encountered during work

"warn" is accepted as an alias and stored as "warning". Anything else falls back to "info" — a rejected level would cost the entry, and a logged entry at the wrong level beats no entry at all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe agent session ID to log to
levelNoLog level (default: info). "warn" is accepted and stored as "warning".
messageYesThe log message to record

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv4.43.1
    • changedInput schema / properties / level / description
      Previous value: -"Log level (default: info)"New value: +"Log level (default: info). \"warn\" is accepted and stored as \"warning\"."
    • changedInput schema / properties / level / enum
      Previous value: -[
      -  "info",
      -  "warn",
      -  "error"
      -]New value: +[
      +  "debug",
      +  "info",
      +  "warning",
      +  "error"
      +]
  2. First observedv4.35.0

TDQS

A4/5.0
Behavior5/5

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

With zero annotations, the description carries the full burden — and it delivers. It discloses the "warn" alias mapping, the fallback-to-"info" coercion for invalid levels, and even explains the design rationale ("a logged entry at the wrong level beats no entry at all"). This is exactly the kind of failure behavior an agent needs to predict results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded and the first sentences are tight, but the description is longer than it needs to be: it duplicates the level list (once in the intro, once in the bulleted list, once echoing schema), and the repeated "Tin level:" phrasing suggests broken or malformed structure that wastes space. The critical behavioral fallback note is buried at the end.

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 relatively simple 3-parameter, no-output-schema logging tool, this description is thorough: it addresses selection guidance, edge cases (alias, invalid values), and implicit preconditions (an active session). The only gaps are the awkwardly truncated "Tin level" sections and no explicit statement about what happens when targeting a non-existent or inactive session ID.

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?

The schema already covers all 3 parameters at 100% coverage, so this is a baseline-3 case. The description does add genuine semantic value for the "level" parameter (alias handling and invalid-value fallback that the enum alone can't express), but the id and message semantics are fully captured by the schema with no additional depth from the description.

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?

The description opens with a clear verb+resource pairing ("Log a message to an active agent session") and elaborates with the concrete purposes: "record progress, decisions, or issues during a work session." While it doesn't explicitly name sibling tools, the focus on an existing, active session cleanly distinguishes it from creation and completion siblings in the family.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives solid level-selection guidance, urging specific levels like "warning" or "error" for review verdicts and telling the agent which level to lead with. However, it provides no when-not-to-use guidance, no explicit alternatives, and the garbled "Tin level" passages read as truncated artifacts that muddy the otherwise clear advice.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KlausFreiberufler/devflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server