Skip to main content
Glama

Get the audit log

get_audit_log
Read-onlyIdempotent

Retrieve recent LinkedIn write actions, guard trips, and pauses newest first; message text is stored only as a hash.

Instructions

Recent write actions (posts, comments, reactions, messages, invitations, deletions), guard trips and pauses, newest first. Message text is never stored, only a hash.

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": "get_audit_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description earns credit for adding real context on top: newest-first ordering, the fact that message bodies are hashed rather than stored, and the inclusion of guard trips and pauses. It stops short of the retention window or whether results are truncated silently.

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 dense sentences with the most decision-relevant facts first: what is logged, then the ordering, then the privacy constraint. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with no output schema, the description conveys the event domain but not the shape of a record (timestamp, actor, action type) or the meaning of 'guard trips and pauses', which an agent unfamiliar with the terminology must guess at. Adding one clause on record fields or retention would make it complete.

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 0%, so the lone limit parameter is undocumented by both schema and description. 'Newest first' does add useful meaning — it implies limit truncates the oldest end rather than sampling randomly — but the default of 50 and maximum of 200 are never surfaced in prose.

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 and enumerates the event classes captured (posts, comments, reactions, messages, invitations, deletions, guard trips, pauses) plus the ordering (newest first). An agent knows exactly what this returns. It does not explicitly distinguish itself from siblings such as get_notifications or get_limits, which costs it the top mark.

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?

Usage is implied by 'recent write actions' — an agent can infer this is for activity auditing or troubleshooting rather than reading content. There is no explicit when-to-use statement, no named alternative, and no guidance on how far back 'recent' extends or what happens when the cap is hit.

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