Skip to main content

Word Counter Pack

Trustedv1.0.0MITGold Verified95

by AgentNode · published 1 month ago · toolpack

Count words, characters, and sentences in any text.

A simple text analysis tool. Zero dependencies.

generic

Quick Start

bash
agentnode install word-counter-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from word_counter_pack.tool import run

result = run(
    text="Artificial intelligence is transforming how developers build software. "
         "Modern AI agents can search the web, write code, manage files, and "
         "interact with APIs — all autonomously. The key challenge is making "
         "these agents reliable enough for production use. That means robust "
         "error handling, clear capability boundaries, and predictable behavior "
         "under edge cases."
)

print(f"Words: {result['word_count']}")
print(f"Characters: {result['character_count']}")
print(f"Characters (no spaces): {result['character_count_no_spaces']}")
print(f"Sentences: {result['sentence_count']}")
print(f"Paragraphs: {result['paragraph_count']}")
print(f"Average words per sentence: {result['avg_words_per_sentence']:.1f}")
print(f"Estimated reading time: {result['reading_time_minutes']:.1f} min")

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence95/100★ Gold Verified
smokeReturned valid result
+25/25
testsPublisher-provided tests passed
+15/15
importAll tools imported successfully
+15/15
installInstalled in 1.7s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed. publisher tests passed.

install1.7s
import801ms
smoke1.2s
tests2.0s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 13d ago· Runner v2.0.0

Use this when you need to...

  • Count words in a blog draft to meet a target word count
  • Analyze sentence length distribution for readability optimization
  • Calculate reading time estimates for articles and documentation
  • Verify character limits for social media posts or meta descriptions
  • Compare word counts across multiple document versions

README

Version History

Capabilities

data_cleaningcount_wordstool

Count words, characters, and sentences in text

Input Schema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The text to analyze"
    }
  }
}

Output Schema

{
  "type": "object",
  "properties": {
    "words": {
      "type": "integer"
    },
    "sentences": {
      "type": "integer"
    },
    "characters": {
      "type": "integer"
    }
  }
}

Permissions

Declared by the publisher. Checked before execution by the policy gate.

Networknone
Filesystemnone
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. Network and filesystem access are not sandboxed at runtime. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install word-counter-pack

Files (5)

License

MIT

Stats

Downloads5
Installs1
Versionv1.0.0
Published3/18/2026
Channelstable
Typetoolpack
Entrypointword_counter_pack.tool

Compatibility

Frameworks

generic

Runtime

python

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode